Skip to main content
← All vulnerabilities
CVE-2024-45411GHSA-6J75-5WFJ-GH66

Twig has a possible sandbox bypass

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.44.8, 2.16.1, 3.14.0, 3.11.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • twigphp Twig

    From 1.0.0 · fixed in 1.44.8; From 2.0.0 · fixed in 2.16.1; From 3.0.0 · fixed in 3.14.0

  • twig/twigPackagist

    From 1.0.0 · fixed in 1.44.8

  • twig/twigPackagist

    From 2.0.0 · fixed in 2.16.1

  • twig/twigPackagist

    From 3.12.0 · fixed in 3.14.0

  • twig/twigPackagist

    From 3.0.0 · fixed in 3.11.1

References 4

GitHub · twigphp/Twig