Auth bypass in Symfony Twig

CVE-2026-46635

Twig is a template language for PHP. Prior to 3.26.0, the column filter passes object arrays to PHP array_column(), which reads public and magic properties without reaching CoreExtension::getAttribute() or SandboxExtension::checkPropertyAllowed(), allowing an untrusted template author with column in allowedFilters to read properties that are not in the sandbox allowlist. This issue is fixed in version 3.26.0.

Vulnerability class: Broken Access Control

EPSS: 0.003 (25.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-46635?
CVE-2026-46635 is a medium-severity vulnerability in Symfony Twig, classified under Incorrect Authorization. CVSS score: 4.3/10. Published 2026-07-14.
How severe is CVE-2026-46635?
Medium severity. CVSS v3 base score is 4.3 out of 10.