SEPTEMBER 11, 2026
Live Feed
Back to database
Case File

CVE-2026-46633

CRITICAL · CVSS 9.8 EPSS 0.64% Public Exploit

Source: NVD + CISA KEV + EPSS · Published 2026-07-14 · Last synced 2026-08-13

CyberRota Analysis

AI-Generated

Twig versions prior to 3.26.0 are vulnerable due to improper handling of single quotes in template names, which allows attackers to inject arbitrary PHP expressions into the compiled cache file. This critical vulnerability could lead to remote code execution, posing significant risks to applications using affected versions. Developers and organizations utilizing Twig for PHP templating should prioritize upgrading to version 3.26.0 to mitigate this severe threat.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2026-46633
Severity
CRITICAL
CVSS
9.8
EPSS
0.64%

Original NVD Description

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.

Related CVEs

Other vulnerabilities affecting the same vendor(s)