🔐 CVE Alert

CVE-2026-115934

CRITICAL 9.8

SQL injection leading to privilege escalation

CVSS Score
9.8
EPSS Score
0.0%
EPSS Percentile
0th

An unauthenticated SQL injection can occur on the front end of any site that uses craft.search to perform a search, allowing stacked query execution and enabling escalation to an administrator. Note that this only affects MySQL/MariaDB. Impact * SQL injection — The attribute parameter is concatenated into the query unsanitized, and because PDO runs with emulated prepares, stacked statements execute. This gives unauthenticated read and write access to the application database. * Privilege escalation to administrator — The write primitive was used to set the admin flag on user ID 1 in the users table, confirmed by reading the value back. Craft short-circuits its permission checks on this single column, so no further changes were needed. The same primitive can overwrite any account’s password hash. Update to the patched versions (4.18.9 and 5.11.2) to get the fix. If you cannot update immediately, you can block front-end requests with %5Battribute%5D and [attribute] anywhere in the query string as a temporary mitigation.

CWE CWE-89
Vendor craftcms
Product cms
Published Nov 9, 2026
Last Updated Nov 9, 2026
Stay Ahead of the Next One

Get instant alerts for craftcms cms

Be the first to know when new critical vulnerabilities affecting craftcms cms are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

craftcms / cms
5.0.0 < 5.11.2 4.0.0 < 4.18.9

References

NVD ↗ CVE.org ↗ EPSS Data ↗
hckrt.com: https://www.hckrt.com/hacktivity/HCKRT-Y64NY8 github.com: https://github.com/craftcms/cms/releases/tag/5.11.2 github.com: https://github.com/craftcms/cms github.com: https://github.com/craftcms/cms/security/advisories/GHSA-qcvp-ggx3-97r6

Credits

🔍 @b1ue0cean Hackrate