sadrobot

← Back to the monthly list · craftcms →

CVE-2026-115934 craftcms · cms

9.8 Critical

AI summary

Craft CMS sites using craft.search on MySQL/MariaDB are vulnerable to unauthenticated SQL injection with stacked queries, giving database read/write access and escalation to administrator. Critical (CVSS 9.8); update to 4.18.9 or 5.11.2, or temporarily block front-end requests containing [attribute] or %5Battribute%5D in the query string.

Official description

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.

Published
2026-11-09 23:17 UTC
Modified
2026-11-12 17:17 UTC
CVSS
9.8 Critical CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.67% (percentile 47)
ENISA EUVD
EUVD-2026-120517
CISA SSVC
Exploitation: none · Automatable: yes · Technical impact: total
CWE
CWE-89

CVSS vector

Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Scope
unchanged
Confidentiality
high
Integrity
high
Availability
high

References