Craftcms cms
SQL injection leading to privilege escalation
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5.0.0, < 5.11.2
- >= 4.0.0, < 4.18.9
Fixed in 5.11.2, 4.18.9
Mitigation
Update to the patched versions (4.18.9 and 5.11.2) to get the fix.
References
- Mitigation hckrt.com/hacktivity/HCKRT-Y64NY8
- Release notes github.com/craftcms/cms/releases/tag/5.11.2
- Vendor advisory github.com/craftcms/cms/security/advisories/GH…
Timeline
Days relative to CVE publicationFirst public PoC 4.7 days after publication; not in CISA KEV. First PoC: fixedbyreboot/CVE-2026-115934-POC (created 14 Nov 2026, found by us: 14 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| fixedbyreboot/CVE-2026-115934-POC | 14 Nov 2026 +4.7 d | 14 Nov 2026 | 0 | PoC via PoC Index |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.