Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2026-24425

40
FAUCET Score

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.

First published: May 20, 2026Last modified: Jul 14, 2026

Impacted Technologies

VendorProductVersion(s)CPE
>= 2.16.0, <= 2.16.1CPE matchmatch criteria
cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:*
>= 3.9.0, < 3.26.0CPE matchmatch criteria
cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 4.0

8.7HIGH

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

Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
VS Confidentiality
HIGH
VS Integrity
HIGH
VS Availability
HIGH
SS Confidentiality
NONE
SS Integrity
NONE
SS Availability
NONE
Exploit Maturity
NOT_DEFINED
CvssVersion
4.0

Exploit Intelligence

EPSS Score
0.76%
Probability of exploitation in next 30 days
EPSS Percentile
51.4%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0076 is in the 58th percentile among its peer group of 1,124 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 1.0 Bluesky, 0.5 Mastodon, and 1.6 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (3)

composerpatch availablevia ghsa
Product: twig/twigFixed in: 3.26.0
ubuntupatch availablevia ubuntu_usn
Product: php-twig (resolute)Fixed in: 3.23.0-2ubuntu0.1~esm1
github_advisoryvendor investigatingvia nvd_reference
View patch

Vendor Advisories (2)

ubuntuUSN-8408-1

Twig vulnerability

Jun 8, 2026
composerGHSA-2q52-x2ff-qgfrhigh

Twig: Possible sandbox bypass when using a source policy

Jun 5, 2026

References

github.com / twigphp/Twig/releases/tag/v3.26.0
ProductRelease Notes
github.com / twigphp/Twig/security/advisories/GHSA-2q52-x2ff-qgfr
Vendor Advisory
vulncheck.com / advisories/twig-x-x-sandbox-bypass-via-sourcepolicyinterface
Third Party Advisory