Summary
CVE-2026-115934 is an unauthenticated SQL injection vulnerability in Craft CMS. It affects the front end of any site that uses craft.search to perform a search. It is rated critical (CVSS v4.0 9.3; CVSS v3.1 9.8).
Technical details
- Root cause: SQL injection in the front-end search functionality (
craft.search). - Trigger conditions: the site uses
craft.searchon the front end. No authentication is required. - Attack vector: network, through front-end requests. The advisory’s temporary mitigation refers to requests with
[attribute]or%5Battribute%5Din the query string. - Impact: database compromise. On MySQL/MariaDB systems it can lead to administrative privilege escalation.
Affected software
- Craft CMS 5.x: 5.0.0 through 5.11.1
- Craft CMS 4.x: 4.0.0 through 4.18.8
Severity
- CVSS v4.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 - CVSS v3.1: 9.8 (Critical),
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: upgrade to Craft CMS 5.11.2 (5.x branch) or 4.18.9 (4.x branch).
- If you cannot patch yet: block front-end requests that contain
[attribute]or%5Battribute%5Din the query string.

