# CVE-2024-45411: Twig has a possible sandbox bypass

Source: https://junglewise.ai/threats/cve-2024-45411-twig-has-a-possible-sandbox-bypass  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-09-09  
License: CC BY 4.0 with a link back

CVE-2024-45411 · Severity: low · CVSS 3.1 · Published 2024-09-09

Twig has a possible sandbox bypass

Technologies: [twig/twig (Packagist)](https://junglewise.ai/threats/technologies/twig-twig). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2024-45411 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-45411 being exploited in the wild.

**How severe is CVE-2024-45411?** Low severity, with a CVSS score of 3.1, published 9 September 2024.

**Which products and versions are affected?** twig/twig (Packagist) ECOSYSTEM:introduced=1.0.0,fixed=1.44.8.

**Is there a fix for CVE-2024-45411?** Yes. twig/twig (Packagist): upgrade to 1.44.8 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-45411?** Check whether you run twig/twig (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- twig/twig (Packagist): upgrade to 1.44.8 or later

  ```sh
  composer require twig/twig:^1.44.8
  ```


## Affected products

- twig/twig (Packagist) ECOSYSTEM:introduced=1.0.0,fixed=1.44.8

## Identifiers

- CVE-2024-45411
- GHSA-6j75-5wfj-gh66

## Related threats

- [Twig sandbox allow-list bypass via template cache reuse](https://junglewise.ai/threats/cve-2026-49981-twig-sandbox-allow-list-bypass-via-template-cache-reuse)
- [Twig sandbox bypass in column filter via SourcePolicyInterface](https://junglewise.ai/threats/cve-2026-48808-twig-sandbox-bypass-in-column-filter-via-sourcepolicyinterface)
- [Twig sandbox policy bypass via Traversable objects in filters and operators](https://junglewise.ai/threats/cve-2026-48807-twig-sandbox-policy-bypass-via-traversable-objects-in-filters-and)
- [Twig sandbox policy bypass via dynamic mapping keys](https://junglewise.ai/threats/cve-2026-48806-twig-sandbox-policy-bypass-via-dynamic-mapping-keys)
- [Twig sandbox bypass in deprecated internal wrappers](https://junglewise.ai/threats/cve-2026-48805-twig-sandbox-bypass-in-deprecated-internal-wrappers)
