CVEFinder.io

CVE-2026-24425

⚠️ high
πŸ” Scan for this CVE
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 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.

CVSS Score
8.8
High
EPSS Score
0.1
Exploit Probability
Published Date
2026-05-20
First Seen: 2026-05-21
πŸ“Š Relative Risk Intelligence

This CVE is High Risk - more severe than 81.1% of all 330,193 vulnerabilities in our database.

#62,466
Top 25% most severe
Severity Percentile
🎯 CISA SSVC Assessment Updated: May 20, 2026
πŸ” Exploitation Status
None
No known exploits
βš™οΈ Automatable
NO
Requires human interaction
πŸ’₯ Technical Impact
Total
Complete system compromise possible
πŸ† Discovered By
NicolΓ² Ribaudo Fabien Potencier (remediation developer) VulnCheck (coordinator)
SSVC data provided by CISA
Last Modified 2026-06-02
CVSS Vector 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Vector 4.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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CWE IDs (Weakness Types)

πŸ“¦ Affected Products 2

πŸ”— References 3

πŸ”— Related CVEs 6

CVE ID Severity CVSS EPSS Summary Published
CVE-2024-45411 ⚠️ high 8.5 0.1 Twig is a template language for PHP. Under some circumstances, the sandbox security checks are not run which allows user... 2024-09-09
CVE-2022-39261 ⚠️ high 7.5 2.3 Twig is a template language for PHP. Versions 1.x prior to 1.44.7, 2.x prior to 2.15.3, and 3.x prior to 3.4.3 encounter... 2022-09-28
CVE-2022-23614 ⚠️ high 8.8 34.9 Twig is an open source template language for PHP. When in a sandbox mode, the `arrow` parameter of the `sort` filter mus... 2022-02-04
CVE-2019-9942 ℹ️ low 3.7 0.3 A sandbox information disclosure exists in Twig before 1.38.0 and 2.x before 2.7.0 because, under some circumstances, it... 2019-03-23
CVE-2018-13818 β›” critical 9.8 0.5 Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter. NOTE: the vendor poi... 2018-07-10
CVE-2015-7809 πŸ”Ά medium 6.8 2.0 The displayBlock function Template.php in Sensio Labs Twig before 1.20.0, when Sandbox mode is enabled, allows remote at... 2015-11-06
These CVEs affect the same products