Lucene search
+L

3 matches found

Vulnrichment
Vulnrichment
•added 2026/07/14 9:12 p.m.•11 views

CVE-2026-47732 Twig Sandbox: multiple `__toString()` policy bypasses via unguarded string coercion points

Twig is a template language for PHP. Prior to 3.26.0, several Twig language constructs trigger PHP string coercion on a Stringable operand without consulting SecurityPolicy::checkMethodAllowed, allowing a sandboxed template author to invoke toString on objects reachable in the render context...

7.1CVSS5.9AI score0.00402EPSS
SaveExploits0References3
Github Security Blog
Github Security Blog
•added 2026/06/30 6:42 p.m.•25 views

Twig: Sandbox `__toString()` policy bypass via dynamic mapping keys

Description This is a residual bypass of CVE-2026-47732 / GHSA-pr2w-4gpj-cpq4 left after the initial fix for unguarded toString calls. In 3.26.0 the sandbox visitor was extended to wrap every child node that its parent will string-coerce at runtime with CheckToStringNode, gated by the new...

9.1CVSS5.9AI score0.00418EPSS
SaveExploits0References5Affected Software1
OSV
OSV
•added 2026/06/05 9:47 p.m.•21 views

GHSA-PR2W-4GPJ-CPQ4 Twig: Sandbox: multiple `__toString()` policy bypasses via unguarded string coercion points

Description SandboxNodeVisitor enforces SecurityPolicy::checkMethodAllowed for implicit toString calls by wrapping selected AST nodes in CheckToStringNode. The set of wrapped nodes is incomplete, and several Twig language constructs still trigger PHP string coercion on a Stringable operand withou...

7.1CVSS5.9AI score0.00402EPSS
SaveExploits0References5
Rows per page
Query Builder