CVE-2026-46636

HIGHPre-NVD 8.78.7
EchelonGraph scoreMEDIUM confidence

This high-severity CVE scores 8.7 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.4%, top 70% 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, secondary
8.7EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 8.7Exploit: None knownExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

Twig is a template language for PHP. From version 1.0.0 to before version 3.27.0, SecurityPolicy::checkMethodAllowed() unconditionally whitelists all method calls on instances of Twig\Markup. Twig\Markup is not final, so subclasses inherit the bypass. An application that passes an object of a Markup-derived class into a sandboxed template (typically to mark a chunk of HTML as safe) inadvertently exposes every public method of that subclass to template authors, regardless of the configured allowedMethods list. This issue has been patched in version 3.27.0.

CVSS v3
8.7
EG Score
8.7(medium)
EG Risk
44(Track)
EG Risk 44/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
Severity87% × 45%
Exploitation0% × 40%
Automatability30% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
0%
EPSS %ILE
30%
KEV
Not listed

Published

September 4, 2026

Last Modified

September 8, 2026

Advisory Details (4)

Auto-updated Sep 4, 2026
Patch available. Sources: github_release.
github_release Patch Available

v3.27.0

Patch available: twigphp/Twig v3.27.0

http://github.com/twigphp/Twig/releases/tag/v3.27.0
generic

CVE-2026-46636: Sandbox filter, tag and function allow-list bypass when sandbox state changes between renders (Symfony Blog)

https://symfony.com/blog/cve-2026-46636-sandbox-filter-tag-and-function-allow-list-bypass-when-sandbox-state-changes-between-renders

Affected Packages

(3 across 3 ecosystems)
Debian:12(1)
PackageVulnerable rangeFixed inDependents
php-twig3.10.1-1 ... 4.0.0~alpha1-1 (59 versions)
Debian:13(1)
PackageVulnerable rangeFixed inDependents
php-twig3.20.0-2 ... 3.26.0-1 (16 versions)3.27.0-0+deb13u1
Debian:14(1)
PackageVulnerable rangeFixed inDependents
php-twig3.20.0-2 ... 3.26.0-1 (15 versions)3.27.0-1

Weakness Classification(1)

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

Data Freshness Timeline

(refreshed 11× in last 7d / 29× 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.

  1. 2026-09-19 05:54 UTCEG score recompute
  2. 2026-09-18 19:28 UTCEPSS rescore
  3. 2026-09-18 03:44 UTCEG score recompute
  4. 2026-09-17 19:31 UTCEPSS rescore
  5. 2026-09-17 01:34 UTCEG score recompute
  6. 2026-09-16 14:08 UTCEPSS rescore
  7. 2026-09-16 12:29 UTCEG score recompute
  8. 2026-09-16 05:15 UTCEPSS rescore
  9. 2026-09-15 10:18 UTCEG score recompute
  10. 2026-09-13 18:59 UTCEG score recompute
  11. 2026-09-13 16:47 UTCEPSS rescore
  12. 2026-09-12 16:49 UTCEG score recompute
  13. 2026-09-12 15:01 UTCEPSS rescore
  14. 2026-09-12 03:44 UTCEG score recompute
  15. 2026-09-11 14:53 UTCEPSS rescore
  16. 2026-09-11 14:39 UTCEG score recompute
  17. 2026-09-11 09:37 UTCEPSS rescore
  18. 2026-09-10 12:29 UTCEG score recompute
  19. 2026-09-10 09:34 UTCEPSS rescore
  20. 2026-09-09 09:01 UTCEG score recompute
  21. 2026-09-08 22:00 UTCEPSS rescore
  22. 2026-09-08 05:05 UTCEG score recompute
  23. 2026-09-07 16:01 UTCEPSS rescore
  24. 2026-09-07 02:53 UTCEG score recompute
  25. 2026-09-06 13:47 UTCEPSS rescore
Show 4 more
  1. 2026-09-06 00:42 UTCEG score recompute
  2. 2026-09-04 22:31 UTCEG score recompute
  3. 2026-09-04 22:15 UTCEG score recompute
  4. 2026-09-04 22:14 UTCMITRE cvelistV5first tracked

Frequently asked(5)

What is CVE-2026-46636?
CVE-2026-46636 is a high vulnerability published on September 4, 2026. Twig is a template language for PHP. From version 1.0.0 to before version 3.27.0, SecurityPolicy::checkMethodAllowed() unconditionally whitelists all method calls on instances of Twig\Markup. Twig\Markup is not final, so subclasses inherit the bypass. An application that passes an object of a…
When was CVE-2026-46636 disclosed?
CVE-2026-46636 was first published in the National Vulnerability Database on September 4, 2026, with the most recent update on September 8, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-46636 actively exploited?
CVE-2026-46636 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 70.4% of all scored CVEs.
What is the CVSS score of CVE-2026-46636?
CVE-2026-46636 has a CVSS v3 base score of 8.7 (NVD).
How do I remediate CVE-2026-46636?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-46636, 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-46636

Explore →

Is Your Infrastructure Affected by CVE-2026-46636?

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