CVE-2026-46633
Twig is a template language for PHP. Prior to 3.26.0, Compiler::string() does not escape single quotes when a template name from a {% use %}
CVSS
9.8
Critical
EPSS
0.6%
p47
KEV
—
Exploit Today
14
0-100
Published: Jul 14, 2026 · Last modified: Jul 16, 2026 · CWE-94
0.5%EPSS · 30 days0.6%
2026-07-152026-07-17
Twig is a template language for PHP. Prior to 3.26.0, Compiler::string() does not escape single quotes when a template name from a {% use %} tag is placed inside a PHP single-quoted string literal, allowing a crafted template name to terminate the string and inject arbitrary PHP expressions into the compiled cache file. This issue is fixed in version 3.26.0.
- github.comhttps://github.com/twigphp/Twig/commit/679447fa29083043665482ccf7d64372472621b8
- github.comhttps://github.com/twigphp/Twig/commit/e9ff55f6910832428e48a35b2e0748189ad49ae3
- github.comhttps://github.com/twigphp/Twig/releases/tag/v3.26.0
- github.comhttps://github.com/twigphp/Twig/security/advisories/GHSA-7p85-w9px-jpjp
CVECVSSEPSSKEVRExploitTitleMod.
CVE-2025-32489.8 CRI100.0%
KEV—80Langflow Missing Authentication Vulnerability3dCVE-2026-341978.8 HIG99.9%
KEV—80Apache ActiveMQ Improper Input Validation Vulnerability3dCVE-2026-154107.2 HIG71.1%
KEV—71SonicWall SMA1000 Appliances Code Injection Vulnerability2dCVE-2025-670389.8 CRI55.3%
KEV—67Lantronix EDS5000 Code Injection Vulnerability11dCVE-2021-416539.8 CRI99.5%
——30The PING function on the TP-Link TL-WR840N EU v5 router with firmware through TL-WR840N(EU)_V5_171211 is vulnerable to remote code execution via a crafted payload in an IP address input field.9dCVE-2023-362558.8 HIG99.0%
——30An issue in Eramba Limited Eramba Enterprise and Community edition v.3.19.1 allows a remote attacker to execute arbitrary code via the path parameter in the URL.9d