{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-133765","published":"2026-11-24T13:17:24.493000Z","last_modified":"2026-12-01T20:18:25.247000Z","status":"Awaiting Analysis","cvss":{"version":"4.0","score":5.3,"severity":"MEDIUM","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","primary":false},"auth":true,"cwes":["CWE-693","CWE-863"],"cpes":[],"cpes_truncated":false,"vendors":["twig"],"products":["twig/twig-twig"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":38,"links":{"html_es":"/es/cve/CVE-2026-133765/","html_en":"/en/cve/CVE-2026-133765/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-133765","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-133765"},"untrusted":{"vendor_name":"Twig","product_name":"twig/twig","desc_en":"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 could call a denied toString() method:\n\n{{ (x = obj) }}\n{{ ({secret: s} = obj)|join }}\n\nNo tag needs to be allowed.\n\nThe sandbox now checks the result of assignments like the result of filters and functions. {% do x = obj %} and {% if (x = obj) %} still work, since they don't convert the value to a string.","affected":[{"untrusted_vendor":"Twig","untrusted_product":"twig/twig","default_status":"unaffected","versions":[{"version":"3.23.0","less_than":"3.31.1","status":"affected"}]}],"references":[{"url":"https://github.com/twigphp/Twig/commit/6bcdbc3d4470dde23e3e2636e7053e0512387edd","tags":[]},{"url":"https://github.com/twigphp/Twig/security/advisories/GHSA-ccrc-gqhf-3cxc","tags":[]},{"url":"https://symfony.com/cve-2026-133765","tags":[]}]}}