CVE-2026-123488: Craft CMS SQL injection in element search endpoint

CVE-2026-123488 · Severity: critical · CVSS 9.8 · Published 2026-11-06

Craft CMS, a popular content management system, contains an unauthenticated SQL injection vulnerability in its element search feature that allows remote attackers to read and modify the database without any credentials. An attacker can exploit this to escalate privileges to administrator by modifying user records, granting them full control of the CMS and any data it manages.

Technologies: Craft CMS. Vendors: Craft.

Quick answers

Is CVE-2026-123488 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-123488 being exploited in the wild.
How severe is CVE-2026-123488?
Critical severity, with a CVSS score of 9.8, published 6 November 2026.
Which products and versions are affected?
Craft CMS 4.0.0 before 4.18.9, 5.0.0 before 5.11.2.
Is there a fix for CVE-2026-123488?
Yes: fixed in 4.18.9, 5.11.2. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-123488 attacked?
It is attacked over the network.
Am I affected by CVE-2026-123488?
Check whether you run Craft CMS at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: 4.18.9, 5.11.2

Technical details

The vulnerability exists in the element search endpoint where the attribute parameter is concatenated directly into SQL queries without sanitization. Because PDO is configured with emulated prepares enabled, stacked SQL statements execute, giving unauthenticated attackers both read and write access to the application database. Attackers can set the admin flag on user accounts or overwrite password hashes to gain administrator access.

Affected products

  • Craft CMS 4.0.0 before 4.18.9, 5.0.0 before 5.11.2

Timeline

  • 2026-10-22: disclosed
  • 2026-11-06: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.