{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-46640","published":"2026-07-14T22:16:56.840000Z","last_modified":"2026-10-24T22:10:00.210000Z","status":"Analyzed","cvss":{"version":"4.0","score":8.7,"severity":"HIGH","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/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":true,"cwes":["CWE-94"],"cpes":[{"criteria":"cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:*","part":"a","vendor":"symfony","product":"twig","version_start_including":"3.15.0","version_end_excluding":"3.26.0"}],"cpes_truncated":false,"vendors":["symfony"],"products":["symfony/twig"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-45vw-wh46-2vx8","ecosystem":"Packagist","name":"twig/twig","purl":"pkg:composer/twig/twig","ranges":[{"introduced":"3.15.0","fixed":"3.26.0"}],"versions":["v3.15.0","v3.16.0","v3.17.0","v3.17.1","v3.18.0","v3.19.0","v3.20.0","v3.21.0","v3.21.1","v3.22.0","v3.22.1","v3.22.2","v3.23.0","v3.24.0","v3.25.0"],"versions_truncated":false}],"severity":"high","priority_score":52,"links":{"html_es":"/es/cve/CVE-2026-46640/","html_en":"/en/cve/CVE-2026-46640/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-46640","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-46640"},"untrusted":{"vendor_name":"Symfony","product_name":"Twig","desc_en":"Twig is a template language for PHP. From 3.15.0 until 3.26.0, _self.(<string>) and import-alias dynamic attribute syntax can concatenate an attacker-controlled string into a MacroReferenceExpression name without identifier validation, causing raw PHP to be emitted into the generated template source and executed at template-load time. This issue is fixed in version 3.26.0.","affected":[{"untrusted_vendor":"twigphp","untrusted_product":"Twig","versions":[]}],"references":[{"url":"https://github.com/twigphp/Twig/commit/324fa60545694fa6abe85ded9befcb82e1066bc2","tags":["Patch"]},{"url":"https://github.com/twigphp/Twig/releases/tag/v3.26.0","tags":["Release Notes"]},{"url":"https://github.com/twigphp/Twig/security/advisories/GHSA-45vw-wh46-2vx8","tags":["Vendor Advisory"]}]}}