Skip to main content
← Vulnerabilities

Craft CMS 4.0.0 before 4.18.9 SQL Injection via Element Search Endpoint

Affects craftcms/cms installs from 4.0.0 before 4.18.9 and from 5.0.0 before 5.11.2. Fixed in 4.18.9 and 5.11.2.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

9.3CriticalCNA
Exploited
No known exploitation
Fix
Fixed in 4.18.9, 5.11.2
Who is exposed
Not reported

Do first: Upgrade to a fixed version: 4.18.9, 5.11.2.

Published
Last modified
26/100 · provisional
Unclear
None on Exploit-DB, Metasploit or GitHub
On X
View the cve.now post

Summary

Craft CMS, in affected 4.x and 5.x releases before the fixed builds, contains an SQL injection flaw in its element search endpoint that can be reached remotely, without logging in. An attacker can read and write the database, including changing user records to gain administrator access.

Read the original 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.

cve.now Index

26Pcve.now Index 26 of 100 · methodology v3 · provisional
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure17/25No login or user action needed, reachable over the network without a login · Unknown: Advisories don't say whether default setups are affected
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity9.3/10CVSS 9.3
  • No patch0/5No signal

What would change the score

  • Would score about 71 if added to CISA KEV
  • Would score about 66 if CISA's SSVC rates exploitation active
  • Would score about 31 if advisories confirm default setups are exposed

What to do

  • Upgrade to a fixed version: 4.18.9, 5.11.2.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. Posted on X by cve.now

Affected versions

  • craftcms cms

    From 4.0.0 · fixed in 4.18.9

  • craftcms cms

    From 5.0.0 · fixed in 5.11.2

Evidence 2

  1. Advisory
  2. Link

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

Questions about CVE-2026-123488

Is CVE-2026-123488 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data

What does this mean?

The element search endpoint passes the attribute parameter into a database query. Because PDO runs with emulated prepares, stacked SQL statements execute, which is an unauthenticated SQL injection. The advisory says it gives read and write access to the application database, including setting the admin flag or overwriting password hashes to gain administrator access.Source: vulncheck.com

Which versions are affected by CVE-2026-123488?

cms: from 4.0.0 before 4.18.9. cms: from 5.0.0 before 5.11.2.Source: cve.now feed data

Am I affected, and how do I check?

Craft CMS 4.0.0 before 4.18.9 and 5.0.0 before 5.11.2, installed via Composer as craftcms/cms. To check the installed version, look at the craftcms/cms entry in composer.lock.Source: vulncheck.com

How do I fix CVE-2026-123488?

Upgrade to 4.18.9 on the 4.x line or to 5.11.2 on the 5.x line. The facts give no workaround, so the upgrade is the listed fix.Source: vulncheck.com