CVE-2026-123488 PUBLISHED

Craft CMS 4.0.0 before 4.18.9 SQL Injection via Element Search Endpoint

Assigner: VulnCheck
Reserved: 06.11.2026 Published: 06.11.2026 Updated: 06.11.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 9.3

Product Status

Vendor craftcms
Product cms
Versions Default: unaffected
  • affected from 4.0.0 to 4.18.9 (excl.)
  • Version 4.18.9 is unaffected
Vendor craftcms
Product cms
Versions Default: unaffected
  • affected from 5.0.0 to 5.11.2 (excl.)
  • Version 5.11.2 is unaffected

References

Problem Types

  • Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') CWE