Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2024-45411
Published:September 09, 2024
Updated:May 15, 2026
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.
Affected Packages
twig/twig (PHP):
Affected version(s) >=v2.0.0 <v2.16.1
Fix Suggestion:
Update to version v2.16.1
twig/twig (PHP):
Affected version(s) >=v3.0.0 <v3.11.1
Fix Suggestion:
Update to version v3.11.1
twig/twig (PHP):
Affected version(s) >=v3.12.0 <v3.14.0
Fix Suggestion:
Update to version v3.14.0
twig/twig (PHP):
Affected version(s) >=v1.0.0 <v1.44.8
Fix Suggestion:
Update to version v1.44.8
Do you need more information?
Contact Us
CVSS v4
Base Score:
9
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
8.5
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Protection Mechanism Failure
EPSS
Base Score:
0.14