原始描述
Craft CMS 4.x before 4.18.8 and 5.x before 5.11.0 contains a blocklist bypass in the Twig create() function because its class-name checks are case-sensitive while PHP class resolution is not. Attackers with template-execution rights, such as Control Panel administrators, can instantiate SplFileObject via a lowercase class name to read .env secrets or write a PHP file into the webroot for remote code execution.
受影响的软件
- CraftCMS ≥ 4.0.0 < 4.18.8≥ 5.0.0 < 5.11.0 修复版本: 4.18.8, 5.11.0 仓库或软件包匹配
详情
- 发布日期
- 2026-10-20
- 最后修改
- 2026-10-21
- CVSS 向量
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N- CWE
- CWE-184
- EPSS(30 天内被利用概率)
- 0.61% (百分位 50)
参考资料
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。