Vulnerability 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.
Related Weaknesses (CWE)
References
- https://github.com/twigphp/Twig/commit/6bcede134671133a4a056199af5cf4749d189d72
- https://github.com/twigphp/Twig/security/advisories/GHSA-p2x6-ppf3-32r3
- https://symfony.com/cve-2026-133768
FAQ
What is CVE-2026-133768?
CVE-2026-133768 is a documented vulnerability. 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 ...
How severe is CVE-2026-133768?
CVSS scoring is not yet available for CVE-2026-133768. Check NVD for updates.
Is there a patch for CVE-2026-133768?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.