← Back to search

CVE-2026-123488

9.8 CRITICALpublic exploit available

Published 2026-11-06 · Updated 2026-11-09

AI risk analysis

Summary
An unauthenticated SQL injection flaw in Craft CMS's element search endpoint allows attackers to inject malicious SQL via the unsanitized 'attribute' parameter, enabling full database compromise including credential manipulation and privilege escalation.
Exploitability
Exploitation is trivial for remote attackers due to lack of authentication, low complexity, and no user interaction required.
Blast radius
Successful exploitation grants full database access, allowing attackers to escalate to administrator privileges by modifying the users table, leading to complete system compromise.
Detection
Look for SQL injection patterns (e.g., stacked queries like '; DROP TABLE; --) in HTTP request parameters targeting the element search endpoint, especially in logs from web application firewalls or application access logs.
Prioritized remediation
Upgrade to Craft CMS 4.18.9 or later for the 4.x branch, or 5.11.2 or later for the 5.x branch.
sql-injectionunauthenticatedprivilege-escalationwebcms

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-89

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.