Vulnerabilities
Vulnerable Software
Symfony:  >> Twig  >> 2.16.0  Security Vulnerabilities
Twig versions 2.16.x and 3.9.0 through 3.25.x contain a sandbox bypass vulnerability when using a SourcePolicyInterface that allows attackers with template rendering capabilities to pass arbitrary PHP callables to sort, filter, map, and reduce filters. Attackers can exploit the runtime check that fails to use the current template source to bypass sandbox restrictions and execute arbitrary code when the sandbox is enabled through a source policy rather than globally.
CVSS Score
8.7
EPSS Score
0.001
Published
2026-05-20
Twig is a template language for PHP. Under some circumstances, the sandbox security checks are not run which allows user-contributed templates to bypass the sandbox restrictions. This vulnerability is fixed in 1.44.8, 2.16.1, and 3.14.0.
CVSS Score
8.5
EPSS Score
0.001
Published
2024-09-09


Contact Us

Shodan ® - All rights reserved