原始描述
Craft CMS 5.0.0-RC1 before 5.10.6 and 4.0.0-RC1 before 4.18.2 contain an arbitrary file read vulnerability. The create() Twig function restricts class instantiation using a 5-entry blocklist that does not include SplFileObject, allowing an authenticated administrator (with allowAdminChanges=true) to configure a malicious entry type title or URI format that instantiates SplFileObject in a non-sandboxed template context. When a user subsequently creates an entry in the affected section, arbitrary files on the server (such as .env containing the security key and database credentials) are read and rendered as entry titles.
受影响的软件
- CraftCMS ≥ 5.0.0-RC1 < 5.10.6≥ 4.0.0-RC1 < 4.18.2 修复版本: 5.10.6, 4.18.2 仓库或软件包匹配
详情
- 发布日期
- 2026-08-11
- 最后修改
- 2026-10-09
- 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.38% (百分位 32)
参考资料
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。