SQL Injection in Craftcms Cms
CVE-2026-115934
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.
Vulnerability class: SQL Injection
Published .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- 7004884b-51e2-48e8-b4a2-5ca29e80453e (technical-description, mitigation, third-party-advisory)
- 7004884b-51e2-48e8-b4a2-5ca29e80453e (release-notes)
- 7004884b-51e2-48e8-b4a2-5ca29e80453e (product)
- 7004884b-51e2-48e8-b4a2-5ca29e80453e (third-party-advisory)
Frequently asked questions
- What is CVE-2026-115934?
- CVE-2026-115934 is a critical-severity vulnerability in Craftcms Cms, classified under SQL Injection. CVSS score: 9.8/10. Published 2026-11-09.
- How severe is CVE-2026-115934?
- Critical severity. CVSS v3 base score is 9.8 out of 10.