Lucene search
+L

3 matches found

Github Security Blog
Github Security Blog
added 2026/06/30 6:43 p.m.12 views

Twig: Sandbox `__toString()` policy bypass via `Traversable` in `join` and `replace` filters

Description This is a residual bypass of CVE-2026-47732 / GHSA-pr2w-4gpj-cpq4 left after the initial fix for unguarded toString calls. It covers two related coercion points that were not caught by the original patch. Traversable in join and replace filters. SandboxExtension::ensureToStringAllowed...

9.1CVSS5.8AI score0.00215EPSS
Exploits0References5Affected Software1
OSV
OSV
added 2026/06/30 6:42 p.m.9 views

GHSA-5V5V-WW74-355V 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.8AI score0.00234EPSS
Exploits0References5
Github Security Blog
Github Security Blog
added 2026/06/05 9:47 p.m.17 views

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.4AI score0.0036EPSS
Exploits0References5Affected Software1
Rows per page
Query Builder