Loading…
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:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H · Attack vector: Network| https://github.com/twigphp/Twig/security/advisories/GHSA-2q52-x2ff-qgfr | Vendor Advisory |
| https://github.com/twigphp/Twig/releases/tag/v3.26.0 | ProductRelease Notes |
| https://www.vulncheck.com/advisories/twig-x-x-sandbox-bypass-via-sourcepolicyinterface | Third Party Advisory |
A short explanation of who is affected, the impact and what to do, written only from this record's data.
AI isn't configured on this server (set AI_PROVIDER and an API key).
Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.
+ Symfony Twig