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.

EPSS: 0.004 (32.4th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

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.