# CVE-2026-46635: Twig: Sandbox property allowlist bypass via the `column` filter (array_column on objects)

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2026-05-21T21:25:55.000Z
- Modified: 2026-10-24T22:10:00.210Z
- Also known as: GHSA-vcc8-phrv-43wj
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- twigphp Twig: < 3.26.0
- twig/twig (Packagist): before 3.26.0
- symfony twig: before 3.26.0

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/twigphp/Twig/security/advisories/GHSA-vcc8-phrv-43wj> (vendor-advisory, web)
- <https://github.com/twigphp/Twig/commit/f05c5011c25caf17de37614b7e04662022532ac4> (patch)
- <https://github.com/twigphp/Twig/releases/tag/v3.26.0> (release-notes)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/CVE-2026-46635.yaml> (web)
- <https://github.com/twigphp/Twig> (package)
- <https://symfony.com/cve-2026-46635> (web)

## Sources

- CVE List: [CVE-2026-46635](https://www.cve.org/CVERecord?id=CVE-2026-46635), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-vcc8-phrv-43wj](https://github.com/advisories/GHSA-vcc8-phrv-43wj), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-46635](https://nvd.nist.gov/vuln/detail/CVE-2026-46635), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-46635 · Whole record: https://cve.day/CVE-2026-46635.json · Rebuilt by cve.day 2026-11-25T22:59:28.238Z
