CVE-2026-46635
MEDIUMTwig: Sandbox property allowlist bypass via the `column` filter (array_column on objects)
Title source: cnaDescription
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.
References (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/twigphp/Twig/security/advisories/GHSA-vcc8-phrv-43wj
X_Refsource_Misc x_refsource_misc
https://github.com/twigphp/Twig/commit/f05c5011c25caf17de37614b7e04662022532ac4
X_Refsource_Misc x_refsource_misc
https://github.com/twigphp/Twig/releases/tag/v3.26.0
Scores
CVSS v3
4.3
EPSS
0.0030
EPSS Percentile
22.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-863
Status
published
Products (2)
symfony/twig
< 3.26.0
twigphp/Twig
< 3.26.0
Published
Jul 14, 2026
Tracked Since
Jul 15, 2026