{"id":"CVE-2026-46635","aliases":["GHSA-vcc8-phrv-43wj"],"url":"https://o3.security/vulnerability/CVE-2026-46635","summary":"Twig: Sandbox property allowlist bypass via the `column` filter (array_column on objects)","details":"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.","published":"2026-07-14T21:12:56.046Z","modified":"2026-08-12T03:51:26.654818820Z","cvss":null,"epss":{"score":0.00297,"percentile":0.22208,"asOf":"2026-08-18"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"twig/twig","fixedVersion":"3.26.0"}],"fix":{"url":"https://github.com/twigphp/Twig/commit/f05c5011c25caf17de37614b7e04662022532ac4","label":"twigphp/Twig@f05c501"},"references":[{"type":"WEB","url":"https://github.com/twigphp/Twig/releases/tag/v3.26.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46635.json"},{"type":"ADVISORY","url":"https://github.com/twigphp/Twig/security/advisories/GHSA-vcc8-phrv-43wj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46635"},{"type":"FIX","url":"https://github.com/twigphp/Twig/commit/f05c5011c25caf17de37614b7e04662022532ac4"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:26.654818820Z"}}