Vulnerability in Symfony Twig
CVE-2026-46639
Twig is a template language for PHP. From 3.24.0 until 3.26.0, object-destructuring assignment compiles CoreExtension::getAttribute() with the sandbox argument hardcoded to false, disabling property and method policy checks and allowing an attacker with write access to a sandboxed Twig template to read public properties or invoke public getters on objects passed to the template engine. This issue is fixed in version 3.26.0.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.004 (32.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 32nd percentile — 32.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
- Symfony Twig
- Twigphp Twig — versions >= 3.24.0, < 3.26.0
Weakness classification (CWE)
References
- github.com/twigphp/Twig/security/advisories/GHSA-mm6w-gr99-p3jj (Vendor Advisory)
- github.com/twigphp/Twig/releases/tag/v3.26.0 (Release Notes)
Frequently asked questions
- What is CVE-2026-46639?
- CVE-2026-46639 is a medium-severity vulnerability in Symfony Twig, classified under Protection Mechanism Failure. CVSS score: 6.5/10. Published 2026-07-14.
- How severe is CVE-2026-46639?
- Medium severity. CVSS v3 base score is 6.5 out of 10.