PublishedCVE-2026-133768·
5.3Medium
No exploitation in the wild has been reported. Fixed in 3.31.1.
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.
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| twig | <3.31.1 | 3.31.1 |
Every event on this vulnerability
A live severity badge for an advisory, README or ticket