Skip to main content
← Vulnerabilities

SQL injection leading to privilege escalation

Craft CMS 4.0.0 to before 4.18.9 and 5.0.0 to before 5.11.2 are affected when PDO runs with emulated prepares. The fixed versions are 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 5.11.2, 4.18.9
Who is exposed
Not reported

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

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

Summary

An unauthenticated attacker can reach the element search endpoint over the network without logging in, and a SQL injection flaw there lets them run stacked queries to escalate their privileges to administrator. The software product is not named in the facts provided, so the sentence refers to it only generically.

Read the original description

An unauthenticated SQL injection in the element search endpoint allows stacked query execution, enabling escalation to an administrator.

cve.now Index

36Pcve.now Index 36 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
  • Reach10/20Affects Packagist packages
  • Severity9.3/10CVSS 9.3
  • No patch0/5No signal

What would change the score

  • Would score about 81 if added to CISA KEV
  • Would score about 76 if CISA's SSVC rates exploitation active
  • Would score about 41 if advisories confirm default setups are exposed

What to do

  • Upgrade to a fixed version: 5.11.2, 4.18.9.

Timeline

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

Affected versions

  • craftcms/cmsPackagist

    From 5.0.0 · fixed in 5.11.2; From 4.0.0 · fixed in 4.18.9

Evidence 4

  1. Advisory
  2. Repository
  3. Repository
  4. Link

Corrections

None so far.

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

Questions about CVE-2026-115934

Is CVE-2026-115934 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 bug is an SQL injection that lets stacked SQL statements run because PDO runs with emulated prepares. The impact is unauthenticated read and write access to the application database, and an attacker can escalate to administrator privileges by setting the admin flag on user ID 1.Source: hckrt.com

Which versions are affected by CVE-2026-115934?

craftcms/cms (Packagist): from 5.0.0 before 5.11.2; from 4.0.0 before 4.18.9.Source: cve.now feed data

Am I affected, and how do I check?

Craft CMS versions from 4.0.0 up to but not including 4.18.9, and from 5.0.0 up to but not including 5.11.2, are in scope, in setups where PDO runs with emulated prepares. To check, look at the installed Craft CMS version and at whether PDO emulated prepares is enabled in the PHP configuration.Source: hckrt.com

How do I fix CVE-2026-115934?

Upgrade to 4.18.9 if you run the 4.x line, or to 5.11.2 if you run the 5.x line. The facts give no other workaround.Source: hckrt.com