home / blog
2026-12-01 · high
CVE-2026-115935: Critical Craft CMS Vulnerability to CRLF Injection
Craft CMS CVE-2026-115935: authenticated users can replace security keys via CRLF injection.

CVE-2026-115935 is a critical vulnerability in Craft CMS affecting the app/process-api-response-headers action. An authenticated user with control panel access can insert newline characters in the X-Craft-Plugin-Licenses header, allowing them to replace the CRAFT_SECURITY_KEY in the .env file. Once the key is replaced, the attacker can forge a signed login redirect containing a Twig system() callback, leading to remote code execution.
The vulnerability severity is classified as High with CVSS score 8.8. On December 1, 2026, a Proof of Concept and complete exploit for this vulnerability was reported on GitHub and is publicly available. Official NVD data confirms the critical nature of the vulnerability and indicates that exploitation techniques different from previously reported ones have been discovered, with attacks focusing on key replacement rather than key reading.
Recommended defenses include immediate application of patches released by the Craft CMS team, limiting control panel access to authorized personnel only, and periodic review of key system files such as .env for suspicious changes. It's also important to implement strict access controls to reduce the attack surface and carefully monitor for anomalous login attempts to the control panel.
At a glance
- What
- Vulnerability in the app/process-api-response-headers action that allows authenticated users to insert fake API headers in X-Craft-Plugin-Licenses, leading to replacement of CRAFT_SECURITY_KEY in .env file
- Severity
- High (CVSS 8.8)
- Affected versions
- Craft CMS 4.0-4.18.8 / 5.0-5.11.1
- Fix
- Update Craft CMS to patched version (not specified in official data)
- Status
- Published in NVD on 10/23/2026, exploit verified on GitHub
- Action
- Apply patches, update to patched version, restrict control panel access
Sources: NVD, CVE-2026-115935