{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-46636","published":"2026-09-04T22:17:17.360000Z","last_modified":"2026-09-25T14:23:59.847000Z","status":"Awaiting Analysis","cvss":{"version":"4.0","score":8.7,"severity":"HIGH","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/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":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-1336"],"cpes":[],"cpes_truncated":false,"vendors":["twigphp"],"products":["twigphp/twig"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":67,"links":{"html_es":"/es/cve/CVE-2026-46636/","html_en":"/en/cve/CVE-2026-46636/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-46636","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-46636"},"untrusted":{"vendor_name":"twigphp","product_name":"Twig","desc_en":"Twig is a template language for PHP. From version 1.0.0 to before version 3.27.0, SecurityPolicy::checkMethodAllowed() unconditionally whitelists all method calls on instances of Twig\\Markup. Twig\\Markup is not final, so subclasses inherit the bypass. An application that passes an object of a Markup-derived class into a sandboxed template (typically to mark a chunk of HTML as safe) inadvertently exposes every public method of that subclass to template authors, regardless of the configured allowedMethods list. This issue has been patched in version 3.27.0.","affected":[{"untrusted_vendor":"twigphp","untrusted_product":"Twig","versions":[]}],"references":[{"url":"http://github.com/twigphp/Twig/releases/tag/v3.27.0","tags":[]},{"url":"https://github.com/twigphp/Twig/security/advisories/GHSA-64jr-qjx4-w2fh","tags":[]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-46636","tags":[]},{"url":"https://security-tracker.debian.org/tracker/DSA-6311-1","tags":[]},{"url":"https://symfony.com/blog/cve-2026-46636-sandbox-filter-tag-and-function-allow-list-bypass-when-sandbox-state-changes-between-renders","tags":[]}]}}