SQL injection leading to privilege escalation
Fix:see the vendor's fix instructions Instructions ↓
craftcms · cms
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.
- Exploited
- Not confirmed
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
Public exploit code (PoC-in-GitHub) appeared 5 days after disclosure. No confirmed exploitation is recorded.
- Disclosedday 0
- Public exploit codePoC-in-GitHub+5 days
Affected versions and fixes
as published in the CVE recordcraftcms cms
Affected: >= 5.0.0, < 5.11.2 · >= 4.0.0, < 4.18.9
Fix
Update to the patched versions (4.18.9 and 5.11.2) to get the fix.
What security researchers reported
Not named in any threat report yetAlso mentioned in 8 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.
- Known_Cve | Nov 18, 2026 | Part 1/317 Nov 2026
- Known_Cve | Nov 17, 2026 | Part 1/316 Nov 2026
- Known_Cve | Nov 16, 2026 | Part 1/315 Nov 2026
- Known_Cve | Nov 15, 2026 | Part 1/314 Nov 2026
- Known_Cve | Nov 14, 2026 | Part 2/313 Nov 2026
- Known_Cve | Nov 13, 2026 | Part 2/312 Nov 2026
- 2 more on OTX