Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-24425

published high CVSS 4.0 · 8.7

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

Published
20 May 2026, 13:45:02 UTC
Updated
17 Nov 2026, 23:00:02 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
twigphp — Twig3.9.0 to < 3.26.0 · 2.16.0 · Other versions: affected Affected Not stated VulnCheck
Debian trixie php-twig Advisory build 3.27.0-0+deb13u1 DSA-6311-1
Ubuntu resolute php-twig Advisory build 3.23.0-2ubuntu0.1~esm1 USN-8408-1
Ubuntu resolute php-twig-cache-extra Advisory build 3.23.0-2ubuntu0.1~esm1 USN-8408-1
Ubuntu resolute php-twig-cssinliner-extra Advisory build 3.23.0-2ubuntu0.1~esm1 USN-8408-1
Ubuntu resolute php-twig-extra-bundle Advisory build 3.23.0-2ubuntu0.1~esm1 USN-8408-1
Ubuntu resolute php-twig-html-extra Advisory build 3.23.0-2ubuntu0.1~esm1 USN-8408-1
Ubuntu resolute php-twig-inky-extra Advisory build 3.23.0-2ubuntu0.1~esm1 USN-8408-1
Show 3 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu resolute php-twig-intl-extra Advisory build 3.23.0-2ubuntu0.1~esm1 USN-8408-1
Ubuntu resolute php-twig-markdown-extra Advisory build 3.23.0-2ubuntu0.1~esm1 USN-8408-1
Ubuntu resolute php-twig-string-extra Advisory build 3.23.0-2ubuntu0.1~esm1 USN-8408-1

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.

en · VulnCheck · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
8.7 / 10
Severity
high
Provider
VulnCheck · cna
Vector string
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
Scenarios
en: GENERAL

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 8.8 high VulnCheck · cna CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
twigphp Twig 3.9.0 to < 3.26.0 (affected · semver)2.16.0 (affected · custom)Default: affected VulnCheck · cna

Weaknesses

1
  • CWE-693 CWE-693 Protection Mechanism Failure (VulnCheck · cna)

References

3

Provider assertions

2

VulnCheck · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
cd81b00b717713b83c9d701cbfbedcdd3bfbfff6d666b44698ec3a095e7c4b36
Ingested
17 Nov 2026, 23:06:52 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected