Patchfirst
CVE-2026-123488 Public exploit Critical · 9.8 EPSS 2.0%

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

Summary

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.

Breakdown
75.3 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 5 days after disclosure. Public exploit code (PoC-in-GitHub) was available the same day.

  1. DisclosedPublic exploit codePoC-in-GitHubday 0
  2. First seen exploitedVulnCheck KEV evidence+5 days

Affected versions and fixes

as published in the CVE record

craftcms cms

Affected: >= 5.0.0, < 5.11.2

Not affected: 5.11.2

What security researchers reported

Not named in any threat report yet

Also mentioned in 8 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

2 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close