CVE-2024-45411

Twig has a possible sandbox bypass

HIGH
8.6
CVSS Score
Published: September 9, 2024 at 06:20 PM UTC
Updated: June 17, 2026 at 07:54 AM UTC
2 products affected across 2 vendorsTwigTwig

Using Twig by twigphp?

Get instant alerts when new vulnerabilities affect Twig - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.6
Exploit prediction
EPSS 0.8%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

1.0.0 ≤ v < 1.44.82.0.0 ≤ v < 2.16.13.0.0 ≤ v < 3.14.01.0.02.0.03.0.0
Affected range stops below 1.44.8, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.16.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.14.0, so it looks safe — our inference, not a vendor statement
v < 1.44.8v < 2.16.1v < 3.14.0
Affected range stops below 1.44.8, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.16.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.14.0, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.6HIGHGitHub_M
Attack Vector
NETWORK
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-693NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card