CVE-2026-24425

HIGH
MEDIUM Priority: 0.07 BB Relevance: 68/100
Published: 2026-05-20 Modified: 2026-11-08 First seen: 2026-11-08 Status: active

Attack Surface

Network Low Complexity No Interaction Conf. Impact Integ. Impact

CVSS Vector Breakdown

AV: Network
AC: Low
PR: Low
UI: None
AT: None
VC: High
VI: High
VA: High

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.

Affected Software (2)

VendorProductVersion
twigphp Twig 3.9.0 < 3.26.0
twigphp Twig 2.16.*

Bug Bounty Relevance

68 / 100
✓ Network accessible
✓ Low complexity
✓ No user interaction

CVSS Score

8.7 / 10.0 v4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS — Exploitation Probability

0.76%
Raw Score 0.007580
Percentile 55.8%
Date 2026-11-13

EPSS Trend

2026-11-13
0.00758
2026-11-12
0.00758
2026-11-10
0.00758
2026-11-09
0.00758
2026-11-08
0.00758

Intelligence Sources

mitre ref →