Description
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.
References (5)
Core 5
Core References
Vendor Advisory x_refsource_confirm
https://github.com/twigphp/Twig/security/advisories/GHSA-6j75-5wfj-gh66
Patch x_refsource_misc
https://github.com/twigphp/Twig/commit/11f68e2aeb526bfaf638e30d4420d8a710f3f7c6
Patch x_refsource_misc
https://github.com/twigphp/Twig/commit/2102dd135986db79192d26fb5f5817a566e0a7de
Patch x_refsource_misc
https://github.com/twigphp/Twig/commit/7afa198603de49d147e90d18062e7b9addcf5233
Scores
CVSS v3
8.5
EPSS
0.0083
EPSS Percentile
52.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-693
Status
published
Products (2)
symfony/twig
1.0.0 - 1.44.8
twig/twig
1.0.0 - 1.44.8Packagist
Published
Sep 09, 2024
Tracked Since
Feb 18, 2026