{"id":"CVE-2026-115935","aliases":["CVE-2026-115935"],"related":[],"kind":"vulnerability","state":"published","title":"Control panel only API response emulation replaces \"securityKey\" and reaches server RCE","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-23T21:40:57.592Z","modified":"2026-11-02T15:17:15.943Z","severity":{"scorer":"Hackrate","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"Hackrate","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},{"scorer":"Hackrate","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"5.0.0","fixed":"5.11.2","status":"affected"},{"type":"semver","introduced":"4.0.0","fixed":"4.18.9","status":"affected"}],"vendor":"craftcms","product":"cms","package":"craftcms/cms","source":"cvelist"}],"references":[{"url":"https://www.hckrt.com/hacktivity/HCKRT-WM3VSE","tags":["mitigation","technical-description","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/craftcms/cms/releases/tag/5.11.2","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/craftcms/cms","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-9hp6-3565-gvh5","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Mohamed Wagdy (@Kalawy)","Hackrate"],"assigner":"Hackrate","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-02T14:43:57.583Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-115935","url":"https://www.cve.org/CVERecord?id=CVE-2026-115935","licence":"CVE Terms of Use","modified":"2026-11-02T14:45:41.313Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-115935","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115935","licence":"Public domain","modified":"2026-11-02T15:17:15.943Z"}],"updatedAt":"2026-11-25T22:59:47.018Z","epss":{"score":0.00462,"percentile":0.41778,"date":"2026-12-01T12:00:22.000Z"}}