CVE•Published 2026-07-14•Modified 2026-07-16•1 article on news•4 live references•NVD data
CVE-2026-46640Symfony · 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
26
Exploit Prediction Scoring System · top 74% of all CVEs
Weaknesses (CWE)
Description
Twig is a template language for PHP. From 3.15.0 until 3.26.0, _self.(<string>) and import-alias dynamic attribute syntax can concatenate an attacker-controlled string into a MacroReferenceExpression name without identifier validation, causing raw PHP to be emitted into the generated template source and executed at template-load time. This issue is fixed in version 3.26.0.
Timeline
Published 2026-07-14
Modified 2026-07-16
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-46640Hosts 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-46640Country / ASN / product breakdown for the vuln query.
Censys
vulnerabilities.cve_id: CVE-2026-46640Censys host search filtered to this CVE id.
grep.app
CVE-2026-46640Public source-code mentions — fast PoC discovery.
GitHub code
CVE-2026-46640GitHub code search for direct mentions.
Google dork
"CVE-2026-46640" exploit -site:nvd.nist.govWrite-ups and news, NVD excluded.
Known PoCs on GitHub (4)
CVE-2026-466404 repos
vladko312/SSTImapPython
Automatic SSTI detection tool with interactive interface
vladko312/extrasPython
Extra plugins for SSTImap
florian-SV/mythos-symfony-CVE-analyseTwig
Application Symfony 8.0 intentionnellement vulnérable : analyse des CVE officieles produite par Claude Mythos via le projet Glasswing
vladko312/vladko312unknown
Config files for my GitHub profile.