目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-100668— Grav 2.0.25 沙箱逃逸漏洞

一分钟漏洞结论

影响对象
getgrav grav
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Grav 2.0.0 至 2.0.24 版本存在 Twig 内容沙箱逃逸漏洞。 过滤器(及其完全相同的函数形式)位于沙箱允许列表(allowlist)中,但与其他受保护项(如 、 、 、 和 )不同,该过滤器注册时缺少 守卫检查。其实现会调用 方法——若不可用则回退到 强制类型转换——且过程中未咨询沙箱方法允许列表。 由于 是一个基于 Pimple 的原始依赖注入容器的 Twig 全局变量,能够编写页面内容中 Twig 模板的用户可通过执行 读取容器的私有 数组,其中包括未脱敏(un-redacted)的 Conf

CVSS 6.5 · Medium EPSS 0.28% · P18

可能的 ATT&CK 技术 1 AI

T1530 · Data from Cloud Storage
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-100668 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Grav before 2.0.25 Sandbox Escape via array Filter
来源: CVE Program / CVE List V5
Vulnerability Description
Grav 2.0.0 through 2.0.24 contain a Twig content sandbox escape. The `array` filter (and its identical function form) is on the sandbox allowlist but is registered without the needs_is_sandboxed guard that print_r, vardump, json_encode, yaml_encode and string carry, and its implementation calls toArray() — or falls back to an (array) cast — without consulting the sandbox method allowlist. Because the `grav` Twig global is the raw Pimple-based dependency injection container, a user who can author Twig in page content can evaluate `grav|array` to read the container's private $values array, including the un-redacted Config service; a second array cast returns the entire configuration tree, disclosing plugin credentials, SMTP and OAuth secrets, Redis passwords, proxy URLs and the security.* subtree that the sandbox's redaction is meant to hide. Because the payload is stored in page content, the disclosed configuration is rendered to anonymous visitors. Grav 1.7 is not affected as it has no Twig content sandbox. Fixed in Grav 2.0.25.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
信息暴露
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
getgrav grav 0 ~ 2.0.25 -

二、漏洞 CVE-2026-100668 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-100668 的情报信息

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

CVE-2026-100668 其他参考 (1)

CVE-2026-100668 其他参考 (1)

同批安全公告 · getgrav · 2026-09-26 · 共 7 条

CVE-2026-100670 8.8 HIGH Grav CMS 2.0.14-2.0.24 提权漏洞
CVE-2026-100673 8.2 HIGH Grav Data Manager 1.4.5 之前版本存储型跨站脚本漏洞
CVE-2026-100671 8.0 HIGH Grav <2.0.25 Twig沙箱会话Cookie窃取漏洞
CVE-2026-100669 7.5 HIGH Grav <2.0.25 敏感文件泄露漏洞
CVE-2026-100672 7.5 HIGH grav-plugin-comments 1.2.11 前未授权信息泄露漏洞
CVE-2026-100667 5.3 MEDIUM grav-plugin-login 3.8.7至3.9.6双重认证绕过漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-100668

暂无评论


发表评论