CVE-2026-115935 Control panel only API response emulation replaces "securityKey" and reaches server RCE
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- PHP
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| craftcms cms(Packagist) | >= 4.0.0, < 4.18.9; >= 5.0.0, < 5.11.2 | 4.18.9, 5.11.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| craftcms cms(Packagist) | >= 5.0.0, < 5.11.2 | 5.11.2 |
| craftcms cms(Packagist) | >= 4.0.0, < 4.18.9 | 4.18.9 |
References
- www.hckrt.com mitigation technical-description third-party-advisory
- github.com release-notes
- github.com product
- github.com third-party-advisory
- ENISA EUVD EUVD-2026-109191 third-party-advisory