Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
craftcms cms
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

动作允许任何已认证的控制台用户传入伪造的 Craft API 响应头。 仅拥有 权限的非管理员用户可以在 头中插入换行符。Craft 在将此值写入 文件时未移除这些换行符。 这使得攻击者能够将一个已知的 注入到 文件中。Craft 加载该密钥后,攻击者即可伪造一个包含 Twig 回调函数的已签名登录重定向请求。 此漏洞与之前的报告不同:之前的报告是通过绕过 Twig 沙箱来读取现有密钥,而本报告则是通过伪造 API 响应头并利用 CRLF 注入来替换密钥。修复其中一个漏洞来源并不能解决另一个问题。

CVSS 8.8 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-115935

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Control panel only API response emulation replaces "securityKey" and reaches server RCE
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
craftcms cms 5.0.0 ~ 5.11.2 -

II. Public POCs for CVE-2026-115935

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-115935

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-115935 (1)

Security Blog Posts for CVE-2026-115935 (1)

Vendor Pages for CVE-2026-115935 (2)

Same Patch Batch · craftcms · 2026-10-23 · 3 CVEs total

CVE-2026-115938 8.8 HIGH Low privilege condition filter escapes Twig sandbox, recovers "securityKey" and reaches RC
CVE-2026-115937 7.5 HIGH Unauthenticated payment reuse allows unpaid orders to be marked as paid

IV. Related Vulnerabilities

V. Comments for CVE-2026-115935

No comments yet


Leave a comment