← Back to search

CVE-2026-115935

8.8 HIGHpublic exploit available

Published 2026-10-23 · Updated 2026-10-26

AI risk analysis

Summary
An authenticated non-admin user can inject CRLF characters into the X-Craft-Plugin-Licenses header via the app/process-api-response-headers action, bypassing input sanitization and writing a malicious CRAFT_SECURITY_KEY to .env, enabling subsequent signed login redirect forgery with Twig system() callback execution.
Exploitability
Requires authenticated access with only accessCp permission; exploitation is straightforward due to lack of newline sanitization in header processing.
Blast radius
Complete compromise of the application: arbitrary code execution via RCE through forged signed redirects after replacing the security key.
Detection
Monitor for writes to .env containing unexpected CRAFT_SECURITY_KEY entries with embedded newlines; detect anomalous signed redirect generation with non-standard payload signatures in web server logs.
Prioritized remediation
Sanitize all input from X-Craft-Plugin-Licenses by stripping or rejecting newline characters before writing to .env; upgrade to Craft CMS version 4.15.0 or later if available, otherwise apply immediate input validation patch.
rcecrlf-injectionauth-bypasswebcraft-cms

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-94

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.