Back to feed
21Track

craftcms cms: SQL injection leading to privilege escalation

craftcms cms · CVE-2026-115934 ETK-2026-4007 EUVD-2026-120517 GHSA-GRCW-MP3H-6WQJ
0 news outlets1 CERTs and agencies0 research labs

Assessment: Track

SSVC decision points: exploitation none, automatable yes, technical impact total, deployment low.

What is it?

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.

Evidence

Official warnings1National CERTs, government cyber security agencies and the vendor’s own advisories

Exploitation

  • Exploit code published (not verified by us)
  • Exploited in the wild (confirmed by a source)
  • Listed as known exploited (CISA KEV)
CVSS
9.8
EPSS
0.5%
First seen
1 d ago
Status
confirmed

All craftcms vulnerabilities