CVE-2026-133769
published low CVSS 4.0 · 2.3Sandbox property allow-list bypass via `html_cva()` variant values
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Twig | — | twig/html-extra3.12.0 to < 3.31.1 · Other versions: unaffected | Affected | Not stated | Symfony |
Description
Cva::apply() converted the values of variants, default variants and compound variants with (array). These values come from the arguments of html_cva(). A sandboxed template could therefore pass any object of its context, and print the private and protected properties of that object: {{ html_cva('base', {c: {p: user}}).apply({c: 'p'}) }} Variant maps that are ArrayAccess objects were also read with a key that the template chooses, without the property check of the sandbox. The template then printed the offsets that the object returned. Applications are affected when the sandbox allows the html_cva function and the apply method of Twig\Extra\Html\Cva. A value that isn't an array is now treated as a single item, so objects are dropped and never match a variant. Variant maps are also only used when they're arrays.
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
- 2.3 / 10
- Severity
- low
- Provider
- Symfony · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/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/html-extra | 3.12.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/ead08daef16e3a0b08d196717e929fc2ebd2fb11
- GHSA-gv3c-qhxr-hh56 https://github.com/twigphp/Twig/security/advisories/GHSA-gv3c-qhxr-hh56
- CVE-2026-133769 https://symfony.com/cve-2026-133769
Provider assertions
2Symfony · cna
Sandbox property allow-list bypass via `html_cva()` variant values
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7cc8c20169ce6d602ac61356cc71bda5bf822508c9a61f60cf848eb09793f6aa
- Ingested
- 01 Dec 2026, 19:45:57 UTC
- Source record
- Official CVE record