Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.3

CVE-2026-115934: Craft CMS search lets attackers become admin

CVE-2026-115934 · published 12 days ago
Summary

The search feature in Craft CMS can be tricked into running malicious database commands, giving anyone on the internet the ability to read and change data, including making themselves an administrator. This affects sites that use MySQL or MariaDB. Update to Craft CMS 4.18.9 or 5.11.2 as soon as possible, or temporarily block requests containing “%5Battribute%5D” or “[attribute]” in the URL query string.

What to do
  • Update craftcms cms to version 5.11.2 or later.
Affected software
VendorProductAffected versions
craftcms cms < 5.11.2
Original advisory text
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.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker full control
Severity
9.3 Critical
Exploitation
<1% chance of attack within 30 days
Type
CWE-89SQL Injection
Timeline
Published9 Nov 2026
Updated22 Nov 2026
First seen9 Nov 2026
Sources
CVE-2026-115934 · MITRE
Track software like this
Free during beta