CVE-2026-133768

published 24 Nov 2026 · updated 24 Nov 2026

Sandbox property allow-list bypass via the `join` filter on non-iterable objects

5.3MediumCVSS 5.3

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
twig<3.31.13.31.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-133768 severity on Zeptric[![CVE-2026-133768](https://zeptric.io/badge/cve/CVE-2026-133768.svg)](https://zeptric.io/cve/CVE-2026-133768)