CVE•Published 2026-05-20•Modified 2026-06-02•1 article on news•6 live references•NVD data
CVE-2026-24425Symfony · Twig
Vulnerability data via NVD (ingested)
CVSS v3.1
8.8
HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS percentile
—
Weaknesses (CWE)
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.
Timeline
Published 2026-05-20
Modified 2026-06-02
External references
Search for exposed instances
Shodan + Censys queries derived from NVD's CPE data. The vuln tag catches assets Shodan has explicitly linked to this CVE; the product / banner fingerprints find exposed instances even when the vuln tag was never applied (which is common).
Shodan · vuln tag0 hosts
vuln:CVE-2026-24425Hosts Shodan has explicitly fingerprinted as vulnerable.
Shodan · product
product:"Symfony Twig"All exposed Symfony Twig instances — cross-reference with the CVE's affected-version range.
Shodan · banner/body mention
http.html:"Twig"HTTP body or banner mentions "Twig" — catches deploys Shodan didn't identify as a product.
More intel sources (5)
Shodan report
vuln:CVE-2026-24425Country / ASN / product breakdown for the vuln query.
Censys
vulnerabilities.cve_id: CVE-2026-24425Censys host search filtered to this CVE id.
grep.app
CVE-2026-24425Public source-code mentions — fast PoC discovery.
GitHub code
CVE-2026-24425GitHub code search for direct mentions.
Google dork
"CVE-2026-24425" exploit -site:nvd.nist.govWrite-ups and news, NVD excluded.