CVE-2026-133768
5.3medium
Sandbox property allow-list bypass via the `join` filter on non-iterable objects
- Severity
- 5.3medium CVSS:4.0 by Symfony
- Exploit likelihood
- 0.53% (higher than 46% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| twig/twig | before 3.31.1 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-133768 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-133768 changed 2026-12-01 | Public domain |