CVE-2026-24425

CRITICALNVD 9.99.9
EchelonGraph scoreMEDIUM confidence

This critical-severity CVE scores 9.9 under NVD CVSS v3. EPSS exploit probability: 0.7%, top 49% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: epss, nvd
Trending — 3 sources updated this week
9.9
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: 1%CVSS: 9.9Exploit: NoneExposed: 0

A fix is available — apply it.

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 v3
9.9
EG Score
9.9(medium)
EG Risk
45(Track)
EG Risk 45/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity99% × 45%
Exploitation1% × 40%
Automatability0% × 15%
Action: Routine — remediate on your standard cadence.
EPSS
50.7%
KEV
Not listed

Published

May 20, 2026

Last Modified

July 23, 2026

Advisory Details (3)

Auto-updated Jul 23, 2026
Patch available. Sources: github_release, github.
generic

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

https://www.vulncheck.com/advisories/twig-x-x-sandbox-bypass-via-sourcepolicyinterface
github Patch Available

Possible sandbox bypass when using a source policy · Advisory · twigphp/Twig · GitHub

https://github.com/twigphp/Twig/security/advisories/GHSA-2q52-x2ff-qgfr
github_release Patch Available

v3.26.0

Patch available: twigphp/Twig v3.26.0

https://github.com/twigphp/Twig/releases/tag/v3.26.0

Vendor Advisories for CVE-2026-24425(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Patch Availability(1)

Vendor / EcosystemFixed in / PatchReleasedSource
ubuntuphp-twig-string-extra (3.23.0-2ubuntu0.1~esm1) @ resolute2026-06-29ubuntu

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(1 across 1 ecosystem)
Packagist(1)
PackageVulnerable rangeFixed inDependents
twig/twigv3.10.0 ... v3.9.3 (32 versions)3.26.0

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

All Vendor Advisories

(1)

Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.

Data Freshness Timeline

(refreshed 16× in last 7d / 67× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 175 total refreshes for this CVE.

  1. 2026-07-23 14:18 UTCEPSS rescore
  2. 2026-07-23 14:18 UTCEPSS rescore
  3. 2026-07-23 03:07 UTCEG score recompute
  4. 2026-07-22 14:08 UTCEPSS rescore
  5. 2026-07-21 15:24 UTCEPSS rescore
  6. 2026-07-21 15:24 UTCEPSS rescore
  7. 2026-07-20 17:08 UTCEPSS rescore
  8. 2026-07-19 14:31 UTCEPSS rescore
  9. 2026-07-19 14:31 UTCEPSS rescore
  10. 2026-07-19 02:29 UTCEPSS rescore
  11. 2026-07-19 02:28 UTCEPSS rescore
  12. 2026-07-18 10:04 UTCEPSS rescore
  13. 2026-07-18 10:04 UTCEPSS rescore
  14. 2026-07-17 22:59 UTCOSV refresh
  15. 2026-07-16 17:03 UTCEPSS rescore
  16. 2026-07-16 17:03 UTCEPSS rescore
  17. 2026-07-15 16:57 UTCEPSS rescore
  18. 2026-07-15 16:57 UTCEPSS rescore
  19. 2026-07-15 02:00 UTCEPSS rescore
  20. 2026-07-15 02:00 UTCEPSS rescore
  21. 2026-07-14 17:20 UTCNVD updateCVSS v3 → 9.9 · severity → CRITICAL
  22. 2026-07-14 16:10 UTCMITRE cvelistV5CVSS v3 → 8.8 · severity → HIGH
  23. 2026-07-13 22:30 UTCEPSS rescore
  24. 2026-07-13 06:13 UTCEPSS rescore
  25. 2026-07-13 06:13 UTCEPSS rescore
Show 75 more
  1. 2026-07-12 05:46 UTCEPSS rescore
  2. 2026-07-12 05:46 UTCEPSS rescore
  3. 2026-07-11 08:27 UTCEPSS rescore
  4. 2026-07-09 19:10 UTCEPSS rescore
  5. 2026-07-08 15:15 UTCEPSS rescore
  6. 2026-07-08 15:15 UTCEPSS rescore
  7. 2026-07-07 13:46 UTCEPSS rescore
  8. 2026-07-06 16:27 UTCEPSS rescore
  9. 2026-07-06 16:27 UTCEPSS rescore
  10. 2026-07-06 02:23 UTCEPSS rescore
  11. 2026-07-06 02:23 UTCEPSS rescore
  12. 2026-07-05 02:30 UTCEPSS rescore
  13. 2026-07-04 06:31 UTCEPSS rescore
  14. 2026-07-04 06:31 UTCEPSS rescore
  15. 2026-07-01 15:06 UTCEPSS rescore
  16. 2026-07-01 15:06 UTCEPSS rescore
  17. 2026-06-30 23:22 UTCEPSS rescore
  18. 2026-06-30 23:22 UTCEPSS rescore
  19. 2026-06-29 20:28 UTCVendor advisory
  20. 2026-06-29 14:06 UTCEPSS rescore
  21. 2026-06-28 14:07 UTCEPSS rescore
  22. 2026-06-28 14:07 UTCEPSS rescore
  23. 2026-06-28 08:00 UTCVendor advisory
  24. 2026-06-28 04:56 UTCEPSS rescore
  25. 2026-06-28 04:56 UTCEPSS rescore
  26. 2026-06-28 04:07 UTCVendor advisory
  27. 2026-06-28 00:09 UTCVendor advisory
  28. 2026-06-27 20:13 UTCVendor advisory
  29. 2026-06-27 12:20 UTCVendor advisory
  30. 2026-06-27 07:26 UTCVendor advisory
  31. 2026-06-27 03:08 UTCEPSS rescore
  32. 2026-06-26 23:30 UTCVendor advisory
  33. 2026-06-26 19:34 UTCVendor advisory
  34. 2026-06-26 03:48 UTCVendor advisory
  35. 2026-06-25 23:20 UTCVendor advisory
  36. 2026-06-25 19:22 UTCVendor advisory
  37. 2026-06-25 13:49 UTCEPSS rescore
  38. 2026-06-25 13:49 UTCEPSS rescore
  39. 2026-06-24 14:05 UTCEPSS rescore
  40. 2026-06-24 14:05 UTCEPSS rescore
  41. 2026-06-23 21:33 UTCEPSS rescore
  42. 2026-06-23 21:32 UTCEPSS rescore
  43. 2026-06-22 14:25 UTCEPSS rescore
  44. 2026-06-22 14:25 UTCEPSS rescore
  45. 2026-06-21 14:56 UTCEPSS rescore
  46. 2026-06-21 14:56 UTCEPSS rescore
  47. 2026-06-21 01:59 UTCEPSS rescore
  48. 2026-06-21 01:59 UTCEPSS rescore
  49. 2026-06-19 19:25 UTCEPSS rescore
  50. 2026-06-19 19:25 UTCEPSS rescore
  51. 2026-06-18 17:52 UTCEPSS rescore
  52. 2026-06-18 03:50 UTCVendor advisory
  53. 2026-06-17 23:56 UTCVendor advisory
  54. 2026-06-17 20:03 UTCVendor advisory
  55. 2026-06-17 17:53 UTCEPSS rescore
  56. 2026-06-17 17:53 UTCEPSS rescore
  57. 2026-06-17 15:34 UTCVendor advisory
  58. 2026-06-17 11:26 UTCVendor advisory
  59. 2026-06-17 04:01 UTCVendor advisory
  60. 2026-06-17 00:07 UTCVendor advisory
  61. 2026-06-16 20:13 UTCVendor advisory
  62. 2026-06-16 17:52 UTCEPSS rescore
  63. 2026-06-16 10:47 UTCVendor advisory
  64. 2026-06-16 06:41 UTCVendor advisory
  65. 2026-06-16 02:48 UTCVendor advisory
  66. 2026-06-15 22:54 UTCVendor advisory
  67. 2026-06-15 17:48 UTCEPSS rescore
  68. 2026-06-15 15:51 UTCVendor advisory
  69. 2026-06-15 06:02 UTCVendor advisory
  70. 2026-06-15 02:09 UTCVendor advisory
  71. 2026-06-14 23:18 UTCEPSS rescore
  72. 2026-06-14 22:15 UTCVendor advisory
  73. 2026-06-14 18:22 UTCVendor advisory
  74. 2026-06-14 14:09 UTCVendor advisory
  75. 2026-06-14 10:11 UTCVendor advisory

Frequently asked(5)

What is CVE-2026-24425?
CVE-2026-24425 is a critical vulnerability published on May 20, 2026. 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…
When was CVE-2026-24425 disclosed?
CVE-2026-24425 was first published in the National Vulnerability Database on May 20, 2026, with the most recent update on July 23, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-24425 actively exploited?
CVE-2026-24425 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 50.7% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-24425?
CVE-2026-24425 has a CVSS v3 base score of 9.9 (NVD).
How do I remediate CVE-2026-24425?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-24425, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-24425

Explore →

Is Your Infrastructure Affected by CVE-2026-24425?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.