CVE-2026-46635
Published:July 14, 2026
Updated:July 19, 2026
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.
Affected Packages
https://github.com/twigphp/Twig.git (GITHUB):
Affected version(s) >=v0.9.0 <v3.26.0Fix Suggestion:
Update to version v3.26.0twig/twig (PHP):
Affected version(s) >=v0.9.0 <v3.26.0Fix Suggestion:
Update to version v3.26.0twig/twig (PHP):
Affected version(s) >=dev-block-fix <v3.26.0Fix Suggestion:
Update to version v3.26.0Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Incorrect Authorization
EPSS
Base Score:
0.30