CVE-2026-133768
Sandbox property allow-list bypass via the `join` filter on non-iterable objects
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-863 |
| Vendor | twig |
| Product | twig/twig |
| Published | Nov 24, 2026 |
Stay Ahead of the Next One
Get instant alerts for twig twig/twig
Be the first to know when new unknown vulnerabilities affecting twig twig/twig are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Twig / twig/twig
0 < 3.31.1
References
Credits
Fabien Potencier