3 matches found
CVE-2026-133765 Sandbox `__toString()` policy bypass via assignment and destructuring expressions
The sandbox checks that a template may call toString on an object before converting it to a string. Since Twig 3.23.0, assignments like x = obj, and the destructuring forms a = list and a = obj, evaluate to the value that they assign. The sandbox didn't check that value, so a sandboxed template...
5.3CVSS
SaveExploits0References3
CVE-2026-133765
The Twig template engine (version 3.23.0 and above) contained a sandbox policy bypass where assignment and destructuring expressions (e.g., x = obj, [a] = list) did not have their results checked. This allowed a sandboxed template to trigger a denied toString() method during string conversion. Th...
5.3CVSS5.9AI score
SaveExploits0References3
20