{"id":"CVE-2026-115935","summary":"Control panel only API response emulation replaces \"securityKey\" and reaches server RCE","details":"The app/process-api-response-headers action accepts fake Craft API response headers from any authenticated control panel user.\n\n\n\nA 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.\n\n\n\nThis 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.\n\n\n\nThis 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.","aliases":["GHSA-9hp6-3565-gvh5"],"modified":"2026-11-04T02:30:29.981241007Z","published":"2026-10-23T21:40:57.592Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115935.json","cna_assigner":"Hackrate","cwe_ids":["CWE-94"]},"references":[{"type":"WEB","url":"https://packagist.org"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115935.json"},{"type":"ADVISORY","url":"https://github.com/craftcms/cms/releases/tag/5.11.2"},{"type":"ADVISORY","url":"https://github.com/craftcms/cms/security/advisories/GHSA-9hp6-3565-gvh5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115935"},{"type":"ADVISORY","url":"https://www.hckrt.com/hacktivity/HCKRT-WM3VSE"},{"type":"PACKAGE","url":"https://github.com/craftcms/cms"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/craftcms/cms","events":[{"introduced":"f6a8fb685d44e387435825e3a96809eeda4973a6"},{"fixed":"a29fe6f87bbba6453e9d488ab8a8145a8a9e4f96"},{"introduced":"982efcd14d7e93a1a54f0905b61f242de6b53d8a"},{"fixed":"2ad6097618e4e7913f7f242d112a6e6e67cf2e8b"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"5.0.0"},{"fixed":"5.11.2"}],"source":"AFFECTED_FIELD"},{"strategy":"StandardRange","range":[{"introduced":"4.0.0"},{"fixed":"4.18.9"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_TAG","original_tag":"5.11.2","range":[{"fixed":"a29fe6f87bbba6453e9d488ab8a8145a8a9e4f96"}]}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-115935.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}