Craft CMS search endpoint SQL injection lets attackers gain admin rights
CVE-2026-123488 and 9 more
Anyone without a login could steal the database of this website tool!
- CVE
- CVE-2026-123488 and 9 more
- Score
- CVSS 9.8 · CVE-2026-123488
- Public date
- 2026-10-22
- First seen
Mitigation
Update 4.x sites to 4.18.9 and 5.x sites to 5.11.2. If you cannot update now, block front-end requests with %5Battribute%5D or [attribute] in the query string. This stopgap covers only CVE-2026-123488; the update is the only fix for the others.
Update to at least the version for your product:
- Craft CMS 4.x 4.18.9 or later
- Craft CMS 5.x 5.11.2 or later
Can't update yet?
Add this line to the config file:
%5Battribute%5D and [attribute]
A wrong setting can stop the service or lock you out. Check the source links below first.
Summary
An unauthenticated SQL injection in the Craft CMS search endpoint lets a remote attacker read and write the database and gain administrator access. Versions 4.0.0 up to 4.18.9 and 5.0.0 up to 5.11.2 are affected. The same update also fixes privilege escalation, access control bypasses, and file reads.
Affected when
- CVE-2026-123488 MySQL or MariaDB in use
- CVE-2026-124427, CVE-2026-123491, CVE-2026-124426 GraphQL API in use
- CVE-2026-123490, CVE-2026-124430, CVE-2026-123489, CVE-2026-124428, CVE-2026-124431 control panel user account held
- CVE-2026-124429 public registration on and email verification off
4 other Incidents of this product in the last 30 days
Incidents by product: Craft CMS
Other recent Incidents of Craft CMS
10 CVEs (every link below opens in a new tab)
Read the advisory · github.com (opens in a new tab)
Each of the 10 CVEs (every link below opens in a new tab)
- CVE-2026-123488Without logging in, attackers can read and write the database and gain admin rights. CVSS 9.8 CVE-2026-123488 advisory · CVE-2026-123488 write-up
- CVE-2026-124427Without logging in, attackers can read titles and content of hidden sections through GraphQL. CVSS 9.8 CVE-2026-124427 advisory · CVE-2026-124427 write-up
- CVE-2026-123490Control panel users can promote every account to administrator. CVSS 8.8 CVE-2026-123490 advisory · CVE-2026-123490 write-up
Show 7 more
- CVE-2026-124430Control panel users can run operating system commands on the server. CVSS 8.8 CVE-2026-124430 advisory · CVE-2026-124430 write-up
- CVE-2026-123491Without logging in, attackers can read password hashes and session tokens through GraphQL. CVSS 8.2 CVE-2026-123491 advisory · CVE-2026-123491 write-up
- CVE-2026-124429Attackers can reclaim deactivated accounts and keep their permissions. CVSS 7.5 CVE-2026-124429 advisory · CVE-2026-124429 write-up
- CVE-2026-123489Control panel users can read database contents bit by bit through conditional queries. CVSS 7.1 CVE-2026-123489 advisory · CVE-2026-123489 write-up
- CVE-2026-124428Control panel users can read arbitrary SVG files on the server. CVSS 6.5 CVE-2026-124428 advisory · CVE-2026-124428 write-up
- CVE-2026-124426Without logging in, attackers can read content from sites outside the allowed scope through GraphQL. CVSS 5.3 CVE-2026-124426 advisory · CVE-2026-124426 write-up
- CVE-2026-124431Low-privileged users can see the folder structure of all volumes. CVSS 4.3 CVE-2026-124431 advisory · CVE-2026-124431 write-up