[ CVE-2026-123488 · Published 6 Nov 2026 ]
Vulnerability in craftcms cms
[ Why it matters ]Priority signals
- Critical severity: CVSS 9.8
[ Description ]Official description
Craft CMS 4.0.0 before 4.18.9 and 5.0.0 before 5.11.2 contains an unauthenticated SQL injection vulnerability in the element search endpoint because the attribute parameter is concatenated into the query unsanitized and emulated PDO prepares allow stacked statements. Remote attackers can read and write the database, setting the admin flag or overwriting password hashes in the users table to gain administrator access.
[ Fixes ]How to fix it
Fixed versions
- craftcms cms: upgrade to 4.18.9 or laterEarlier versions are listed as affected
From the affected-version ranges in the CVE record. Check the vendor's advisory for the exact release for your platform or branch.
Vendor advisories and patches
- Vendor advisorygithub.com
Until you can patch: our advice
- Block SQL injection at the edge. Put a web application firewall rule in front of the application to block SQL injection, and make sure its database account has only the rights it needs.
- Keep it off the internet. It can be attacked over the network without an account. Until you have patched, make sure the affected service is not reachable from the internet: close the port, or put it behind a VPN or a firewall allow-list.