Urgent
Craft CMS search SQL injection leads to admin privilege escalation
CVE-2026-115934
Anyone can use the search box to steal site data and take admin rights!
- CVE
- CVE-2026-115934 (opens in a new tab)
- Score
- CVSS 9.8
- First seen
9.8
Products
Mitigation
Update Craft CMS 4 to 4.18.9 and Craft CMS 5 to 5.11.2 or later. If you cannot update now, block front-end requests with %5Battribute%5D or [attribute] in the query string.
Update to at least the version for your product:
- Craft CMS 4 4.18.9 or later
- Craft CMS 5 5.11.2 or later
Summary
An SQL injection flaw in the Craft CMS front-end search lets an unauthenticated attacker read and write the database and gain administrator rights. Versions 4.0.0 or later before 4.18.9 and 5.0.0 or later before 5.11.2 are affected, and only MySQL and MariaDB are impacted.
Affected when
- MySQL or MariaDB database
- Front-end search through craft.search
4 other Incidents of this product in the last 30 days
Incidents by product: Craft CMS
Other recent Incidents of Craft CMS
Read the advisory · github.com (opens in a new tab)
- Advisory: github.com (opens in a new tab)
- Write-up: hckrt.com (opens in a new tab)
- Write-up: github.com (opens in a new tab)
- CVE record: cve.org (opens in a new tab)