CVE-2026-133768
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | php-twig |
Affected | — |
| sid | php-twig |
Fixed | 3.31.1-1 |
| forky | php-twig |
Fixed | 3.31.1-1 |
| bookworm | php-twig |
Affected | — |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Packagist | twig/twig | >=1.0.0,<2.0.0|>=2.0.0,<3.0.0|>=3.0.0,<3.31.1 | |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| twig | twig_twig | {"endExcluding":"3.31.1"} | 3.31.1 |
References
CWEs
CWE-863
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.