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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-133763— Sandbox `__toString()` policy bypass via the `is true` test

一分钟漏洞结论

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

The sandbox checks that a template may call toString() on an object before converting it to a string. For an object, the is true test evaluates to the object itself, and that result wasn't checked. A sandboxed template could therefore print an object through a

CVSS 5.3 · Medium
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

Shenlong is analyzing...


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

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

Vulnerability Title
Sandbox `__toString()` policy bypass via the `is true` test
来源: CVE Program / CVE List V5
Vulnerability Description
The sandbox checks that a template may call toString() on an object before converting it to a string. For an object, the is true test evaluates to the object itself, and that result wasn't checked. A sandboxed template could therefore print an object through a denied toString() method: {{ obj is true }} The same applies when the result is concatenated or passed to a filter. No tag needs to be allowed. A test in a boolean context, like {% if obj is true %}, isn't affected, since it doesn't convert the object to a string. The sandbox now checks the result of tests like the result of filters and functions.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
保护机制失效
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
Twig twig/twig 3.21.0 ~ 3.31.1 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-133763 其他参考 (3)

同批安全公告 · Twig · 2026-11-24 · 共 11 条

CVE-2026-133768 5.3 MEDIUM Sandbox property allow-list bypass via the `join` filter on non-iterable objects
CVE-2026-133767 5.3 MEDIUM Sandbox allow-list and `__toString()` bypass via a dynamic `embed` parent expression
CVE-2026-133765 5.3 MEDIUM Sandbox `__toString()` policy bypass via assignment and destructuring expressions
CVE-2026-133764 2.3 LOW Sandbox `__toString()` policy bypass via the input of custom tests
CVE-2026-133771 2.3 LOW Missing autoescaping for a variable named like a macro import alias of another scope
CVE-2026-133772 2.3 LOW Sandbox Tag Allow-List Bypass via the Branch of a `guard` Tag That Isn't Selected
CVE-2026-133769 2.3 LOW Sandbox property allow-list bypass via `html_cva()` variant values
CVE-2026-133773 2.3 LOW Unbounded Converter Memoisation in twig/markdown-extra Keyed on Template-Controlled Option
CVE-2026-133766 2.3 LOW Sandbox `__toString()` policy bypass via spread arguments
CVE-2026-133770 2.1 LOW Sandboxed templates can rewrite application-owned `Markup` objects through their construct

IV. Related Vulnerabilities