CVE-2026-24425
8.8 HIGHTwig versions 2.16.x and 3.9.0 through 3.25.x contain a sandbox bypass vulnerability when using a SourcePolicyInterface that allows attac...
Published: 2026-05-20 · Last updated: 2026-06-02
Severity and scoring
- CVSS
- 8.8 HIGH
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CWE
- CWE-693
Affected products
| Vendor | Product |
|---|---|
| symfony | twig |
Description
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 fails to use the current template source to bypass sandbox restrictions and execute arbitrary code when the sandbox is enabled through a source policy rather than globally.
Source: NVD
References
Related CVEs
Same CWE
- CVE-2026-53853 — OpenClaw before 2026.5.12 contains an argument pattern validation bypass in the exec allowlist that allows attackers to execute disallowe... (8.3 HIGH)
- CVE-2026-53845 — OpenClaw before 2026.5.6 contains a hook bypass vulnerability where skill commands routed through the affected dispatch path skip before-... (4.3 MEDIUM)
- CVE-2026-12316 — Mitigation bypass in the DOM: Security component (9.1 CRITICAL)
- CVE-2026-12315 — Mitigation bypass in the DOM: Security component (9.1 CRITICAL)
- CVE-2026-12302 — Mitigation bypass in the DOM: Security component (6.5 MEDIUM)