9.9

CVE-2026-24425: symfony twig Protection Mechanism Failure

CVSS: 9.9v3.1CriticalAnalyzed
AliasesUBUNTU-CVE-2026-24425USN-8408-1DEBIAN-CVE-2026-24425
Published 20-05-2026Last modified 08-10-2026

Vulnerability summary

CVE-2026-24425 is a critical (CVSS 9.9) Protection Mechanism Failure vulnerability in symfony twig. EPSS estimates a 0.76% chance of exploitation in the next 30 days, higher than 54.6% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.9/10
010
Critical · v3.1 (NVD)
EPSS score
0.76%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 20-05-2026
    PublishedVulnerability first disclosed.
  2. 08-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 4 sources · 2 versions

EPSS trend

Probability

0.76%

Chance of exploitation in the next 30 days

Percentile

55%

Versus all other CVEs

30-day change

0.00 pp

From 0.76% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.76%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • php-twig< 3.27.0-0+deb13u1 | < 3.26.0-1
Symfony1 product
  • twig≥ 2.16.0, ≤ 2.16.1 | ≥ 3.9.0, < 3.26.0
Twigphp1 product
  • twigEOL≥ 3.9.0, < 3.26.0 | ≥ 2.16.0, < 2.17.0
Ubuntu1 product
  • php-twigAll versions (No fix recorded) | < 3.23.0-2ubuntu0.1~esm1

4 vendors · 4 products

References

8 links