Vulnerability details

CVE-2026-115934

craftcms cms

SQL injection leading to privilege escalation

CVSS 4.0
9.3Critical

Remedy

Versions not listed as affected in the CVE record:
  • cms — version 5.11.2 and later
  • cms — version 4.18.9 and later
Remedy in the CVE record (record published by: Hackrate)
Update to the patched versions (4.18.9 and 5.11.2) to get the fix.

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.

CVSS scores

ScoreVersionSourceVector
9.3Critical 4.0 CVEProject cvelistV5 (CNA) (Hackrate) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A
9.8Critical 3.1 CVEProject cvelistV5 (CNA) (Hackrate) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
craftcms cms 4.0.0 ≤ v < 4.18.9 CVEProject cvelistV5 (CNA)
craftcms cms 5.0.0 ≤ v < 5.11.2 CVEProject cvelistV5 (CNA)

References and advisories

4
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-11-10
Last updated
2026-11-10
State
Published
Assigner (CNA)
Hackrate
Kolun priority
24 · Low

Exploit prediction (EPSS)

0.48%
Probability of exploitation in 30 days
42.1%
Percentile (among all CVEs)

Weaknesses (CWE)

  • CWE-89
    Improper neutralization of special elements used in an SQL command ('SQL injection')