Resource exhaustion in Twigphp Twig

CVE-2026-46627

Twig is a template language for PHP. Prior to 3.26.0, the Twig sandbox does not prevent a template from consuming CPU, memory, or wall-clock time, even under the strictest allow-list, allowing untrusted templates to cause resource exhausti…

Vulnerability class: DoS (Denial of Service)

Affected products

Weakness classification (CWE)

References