CVE-2026-133768Sandbox property allow-list bypass via the `join` filter on non-iterable objects
The join filter converted a value that isn't iterable with (array) $value. For an object, that gives every property, including the private and protected ones. A sandboxed template allowed to use join could therefore print properties that the policy denies, and that templates can't read otherwise: {{ user|join(',') }} A value that isn't iterable is now joined as a single item. A Stringable object prints its checked string, and other objects throw, as with the first and last filters.
What to do
Debian has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Debian 14 | php-twig | Fix pending | DEBIAN-CVE-2026-133768 | |
| Debian 13 | php-twig | Fix pending | DEBIAN-CVE-2026-133768 | |
| Debian 12 | php-twig | Fix pending | DEBIAN-CVE-2026-133768 |
What the vendor says
As published in the CVE record by Symfony, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- twig/twig: affected: before 3.31.1; fixed in
3.31.1
Vendor advisories:
- https://symfony.com/cve-2026-133768 (vendor-advisory)
- https://github.com/twigphp/Twig/security/advisories/GHSA-p2x6-ppf3-32r3 (vendor-advisory)
- https://github.com/twigphp/Twig/commit/6bcede134671133a4a056199af5cf4749d189d72 (patch)
References
- https://symfony.com/cve-2026-133768
- https://github.com/twigphp/Twig/security/advisories/GHSA-p2x6-ppf3-32r3
- https://github.com/twigphp/Twig/commit/6bcede134671133a4a056199af5cf4749d189d72
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.