CVE-2026-115935Control panel only API response emulation replaces "securityKey" and reaches server RCE
The app/process-api-response-headers action accepts fake Craft API response headers from any authenticated control panel user. A non-admin user with only accessCp can place newline characters in X-Craft-Plugin-Licenses. Craft passes this value to its .env writer without removing the newlines. This lets the user insert a new attacker-known CRAFT_SECURITY_KEY into .env. After Craft loads that key, the user can forge a signed login redirect containing a Twig system() callback. This is different from the previous report. That report reads the existing key through a Twig sandbox bypass. This report replaces the key through fake API headers and CRLF injection. Fixing either source does not fix the other.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by Hackrate, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- craftcms cms: affected: 5.0.0 to before 5.11.2, 4.0.0 to before 4.18.9; fixed in
5.11.2,4.18.9
Vendor advisories:
- https://www.hckrt.com/hacktivity/HCKRT-WM3VSE (mitigation)
- https://github.com/craftcms/cms/releases/tag/5.11.2 (release-notes)
References
- https://www.hckrt.com/hacktivity/HCKRT-WM3VSE
- https://github.com/craftcms/cms/releases/tag/5.11.2
- https://github.com/craftcms/cms
- https://github.com/craftcms/cms/security/advisories/GHSA-9hp6-3565-gvh5
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.