Craft CMS 4.0.0 before 4.18.9 SQL Injection via Element Search Endpoint
Fix:the vendor lists fixed versions See versions ↓
craftcms · cms
The SQL injection flaw lies in the element search endpoint of Craft CMS (craftcms cms), in versions 4.0.0 before 4.18.9 and 5.0.0 before 5.11.2, where the attribute parameter is concatenated into the database query without sanitization and emulated PDO prepares permit stacked statements. An unauthenticated remote attacker with only network access and no user interaction can read and write the database, for example by setting the admin flag or overwriting password hashes in the users table to obtain administrator access.
Official description · NVD
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.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 5 days after disclosure. Public exploit code (PoC-in-GitHub) was available the same day.
- First seen exploitedVulnCheck KEV evidence+5 days
Affected versions and fixes
as published in the CVE recordcraftcms cms
Affected: >= 5.0.0, < 5.11.2
Not affected: 5.11.2
What security researchers reported
Not named in any threat report yetAlso mentioned in 8 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.
- Known_Cve | Nov 15, 2026 | Part 1/314 Nov 2026
- Known_Cve | Nov 14, 2026 | Part 1/313 Nov 2026
- Known_Cve | Nov 13, 2026 | Part 1/312 Nov 2026
- Known_Cve | Nov 12, 2026 | Part 2/311 Nov 2026
- Known_Cve | Nov 11, 2026 | Part 2/310 Nov 2026
- Known_Cve | Nov 10, 2026 | Part 2/29 Nov 2026
- 2 more on OTX