CVE-2026-133768
published medium CVSS 4.0 · 5.3Sandbox property allow-list bypass via the `join` filter on non-iterable objects
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Twig | — | twig/twig0 to < 3.31.1 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- Symfony · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Twig | twig/twig | 0 to < 3.31.1 (affected · semver)Default: unaffected | Symfony · cna |
Weaknesses
1- CWE-863 CWE-863 Incorrect Authorization
References
3- https://github.com/twigphp/Twig/commit/6bcede134671133a4a056199af5cf4749d189d72
- GHSA-p2x6-ppf3-32r3 https://github.com/twigphp/Twig/security/advisories/GHSA-p2x6-ppf3-32r3
- CVE-2026-133768 https://symfony.com/cve-2026-133768
Provider assertions
2Symfony · cna
Sandbox property allow-list bypass via the `join` filter on non-iterable objects
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fa716f2ce8d71e21ee642dc9ba038cdc76580306edda395402dfa9e10204f2b2
- Ingested
- 01 Dec 2026, 19:45:57 UTC
- Source record
- Official CVE record