# CVE-2026-115935 - Control panel only API response emulation replaces "securityKey" and reaches server RCE

DevFeed: [CVE-2026-115935 - Control panel only API response emulation replaces "securityKey" and reaches server RCE](<https://devfeed.tech/articles/cve-2026-115935-control-panel-only-api-response-emulation-replaces-securitykey-and-reaches-server-rce-98405.md>)

Original publisher: [Read original article](<https://cvefeed.io/vuln/detail/CVE-2026-115935>)

Author: cvefeed.io

Published: 2026-10-23T21:40:57Z

Content type: news

Language: en

Sources: [Latest High/Critical Vulnerabilitiy Feed](<https://devfeed.tech/sources/latest-high-critical-vulnerabilitiy-feed.md>)

Topics: [Access Control](<https://devfeed.tech/topics/access-control.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [api](<https://devfeed.tech/tags/api.md>), [cms](<https://devfeed.tech/tags/cms.md>), [control-panel](<https://devfeed.tech/tags/control-panel.md>), [craftcms](<https://devfeed.tech/tags/craftcms.md>), [cve](<https://devfeed.tech/tags/cve.md>), [cve-2026-115935](<https://devfeed.tech/tags/cve-2026-115935.md>), [emulation](<https://devfeed.tech/tags/emulation.md>), [fake](<https://devfeed.tech/tags/fake.md>), [forge](<https://devfeed.tech/tags/forge.md>), [headers](<https://devfeed.tech/tags/headers.md>), [insert](<https://devfeed.tech/tags/insert.md>), [key](<https://devfeed.tech/tags/key.md>), [login](<https://devfeed.tech/tags/login.md>), [plugin](<https://devfeed.tech/tags/plugin.md>), [process](<https://devfeed.tech/tags/process.md>), [rce](<https://devfeed.tech/tags/rce.md>), [redirect](<https://devfeed.tech/tags/redirect.md>), [security](<https://devfeed.tech/tags/security.md>), [server](<https://devfeed.tech/tags/server.md>), [system](<https://devfeed.tech/tags/system.md>), [twig](<https://devfeed.tech/tags/twig.md>)

## AI overview

The report describes an RCE chain reachable by any authenticated Craft control panel user with only `accessCp`. The user supplies newline characters in `X-Craft-Plugin-Licenses` through `app/process-api-response-headers`; Craft writes the value to `.env` without stripping them, allowing insertion of an attacker-known `CRAFT_SECURITY_KEY`. Once loaded, that key can be used to forge a signed login redirect with a Twig `system()` callback. This differs from a prior report that reads the existing key through a Twig sandbox bypass; fixing one issue does not fix the other. The excerpt gives no affected product versions.

## Source excerpt

CVE ID :CVE-2026-115935 Published : Oct. 23, 2026, 9:40 p.m. | 6 minutes ago Description :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. Severity: 8.8 | HIGH Visit the link for more details, such as CVSS details, affected products, timeline, and more...