CVE-2024-45411

Twig has a possible sandbox bypass

State
Published
Severity
8.6 High
Published
Sep 9, 2024
Updated
Sep 16, 2024
Reserved
Aug 28, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.6 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-693 Protection Mechanism Failure

Affected Products

ProductVersions
Twigtwigphp
  • > 1.0.0, < 1.44.8Affected
  • > 2.0.0, < 2.16.1Affected
  • > 3.0.0, < 3.14.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.