{"id":"CVE-2026-115935","revision":"13d2f99c9b564c95ac7a92a7542855d8","records":[{"revision":"13d2f99c9b564c95ac7a92a7542855d8","observedAt":"2026-10-23T22:48:20.692+00:00","statement":{"source":"cve-program","id":"CVE-2026-115935","aliases":[],"title":"Control panel only API response emulation replaces \"securityKey\" and reaches server RCE","description":"The\u00A0app/process-api-response-headers\u00A0action accepts fake Craft API response headers from any authenticated control panel user.\n\n\n\nA non-admin user with only\u00A0accessCp\u00A0can place newline characters in\u00A0X-Craft-Plugin-Licenses. Craft passes this value to its\u00A0.env\u00A0writer without removing the newlines.\n\n\n\nThis lets the user insert a new attacker-known\u00A0CRAFT_SECURITY_KEY\u00A0into\u00A0.env. After Craft loads that key, the user can forge a signed login redirect containing a Twig\u00A0system()\u00A0callback.\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.","state":0,"publishedAt":"2026-10-23T21:40:57.592+00:00","modifiedAt":"2026-10-23T21:40:57.592+00:00","affected":[{"ecosystem":"https://packagist.org","name":"craftcms/cms","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"craftcms\",\n                    \"product\": \"cms\",\n                    \"collectionURL\": \"https://packagist.org\",\n                    \"packageName\": \"craftcms/cms\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"5.0.0\",\n                            \"lessThan\": \"5.11.2\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"4.0.0\",\n                            \"lessThan\": \"4.18.9\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[{"system":"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,"severity":"HIGH"},{"system":"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,"severity":"HIGH"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-115935","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-115935","identifiers":["CVE-2026-115935"]},"retained":false,"historicalAffected":[]}],"coverage":[]}