- Home
- Vulnerabilities
- CVE-2026-133768
CVE-2026-133768
Sandbox property allow-list bypass via the `join` filter on non-iterable objects
Low
33/100
Summary
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.
Affected products and versions
Twig (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| twig/twig | before 3.31.1 (excluded) |
— | CNA (vendor or assigner) |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- CNA (vendor or assigner)
- CVSS vector
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(CVSS 4.0, CNA:Symfony)- Weakness
- CWE-863 · Authentification / contrôle d'accès