CVE-2026-115934
Published:November 09, 2026
Updated:November 10, 2026
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.
Affected Packages
https://github.com/craftcms/cms.git (GITHUB):
Affected version(s) >=3.7.14 <4.18.9 || >=4.0.0-alpha.1 <4.18.9 || >=4.0.0-RC1 <4.18.9Fix Suggestion:
Update to version 4.18.9https://github.com/craftcms/cms.git (GITHUB):
Affected version(s) >=6.0.0-alpha.1 <6.0.0-alpha.19Fix Suggestion:
Update to version 6.0.0-alpha.19https://github.com/craftcms/cms.git (GITHUB):
Affected version(s) >=5.0.0-alpha.1 <5.11.2 || =5.0.0-RC1 <5.11.2Fix Suggestion:
Update to version 5.11.2craftcms/cms (PHP):
Affected version(s) >=5.0.0-alpha.1 <5.11.2 || =5.0.0-RC1 <5.11.2Fix Suggestion:
Update to version 5.11.2craftcms/yii2-adapter (PHP):
Affected version(s) >=6.0.0-alpha.1 <6.0.0-alpha.19Fix Suggestion:
Update to version 6.0.0-alpha.19craftcms/cms (PHP):
Affected version(s) >=3.7.14 <4.18.9 || >=4.0.0-alpha.1 <4.18.9 || >=4.0.0-RC1 <4.18.9Fix Suggestion:
Update to version 4.18.9Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
ATTACKED
CVSS v3
Base Score:
9.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an SQL Command