# CVE-2026-115934: SQL injection leading to privilege escalation

- Severity: Critical 9.3 (CVSS:4.0, scored by 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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 50% of CVEs (2026-12-01)
- Published: 2026-11-09T22:57:57.368Z
- Modified: 2026-11-12T17:17:25.007Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Hackrate

## 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.

(As written by CVE List.)

## Affected

- craftcms/cms: from 5.0.0 before 5.11.2; from 4.0.0 before 4.18.9

## Every score

- Hackrate: CVSS:4.0 9.3 Critical `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`
- Hackrate: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.hckrt.com/hacktivity/HCKRT-Y64NY8> (mitigation, technical-description, third-party-advisory)
- <https://github.com/craftcms/cms/releases/tag/5.11.2> (release-notes)
- <https://github.com/craftcms/cms> (product)
- <https://github.com/craftcms/cms/security/advisories/GHSA-qcvp-ggx3-97r6> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-115934](https://www.cve.org/CVERecord?id=CVE-2026-115934), CVE Terms of Use, modified 2026-11-12
- NVD: [CVE-2026-115934](https://nvd.nist.gov/vuln/detail/CVE-2026-115934), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-115934 · Whole record: https://cve.day/CVE-2026-115934.json · Rebuilt by cve.day 2026-11-25T22:59:49.683Z
