# CVE-2026-133768: Sandbox property allow-list bypass via the `join` filter on non-iterable objects

- Severity: Medium 5.3 (CVSS:4.0, scored by Symfony) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2026-11-24T13:07:51.336Z
- Modified: 2026-12-01T20:18:25.507Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Symfony

## Description

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.

(As written by CVE List.)

## Affected

- twig/twig: before 3.31.1

## References

- <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)

## Sources

- CVE List: [CVE-2026-133768](https://www.cve.org/CVERecord?id=CVE-2026-133768), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-133768](https://nvd.nist.gov/vuln/detail/CVE-2026-133768), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-133768 · Whole record: https://cve.day/CVE-2026-133768.json · Rebuilt by cve.day 2026-12-01T20:32:22.855Z
