MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-24425GHSA-2q52-x2ff-qgfr

Twig 2.16.x & 3.9.0-3.25.x Sandbox Bypass via SourcePolicyInterface

Not on CISA KEV
  • Overview

Summary

Twig versions 2.16.x and 3.9.0 through 3.25.x contain a sandbox bypass vulnerability when using a SourcePolicyInterface that allows attackers with template rendering capabilities to pass arbitrary PHP callables to sort, filter, map, and reduce filters. Attackers can exploit the runtime check that

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)
  • NVD This product uses the NVD API but is not endorsed or certified by the NVD.