CVE-2026-133769
LOW 2.3CVSS 4.0Sandbox property allow-list bypass via `html_cva()` variant values
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.
- Published
- 24 Nov 2026
- Last modified
- 1 Dec 2026
- Assigned by
- b5aa5c7f-767d-4597-9c64-3ac08b8711c6
- NVD status
- Awaiting Analysis
- Weakness
- CWE-863
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | b5aa5c7f-767d-4597-9c64-3ac08b8711c6 (Secondary) | CVSS 4.0 | LOW 2.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | Symfony | CVSS 4.0 | LOW 2.3 | 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 |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://packagist.org | twig/html-extra | >= 3.12.0, < 3.31.1 | 3.31.1 |
References
- https://github.com/twigphp/Twig/commit/ead08daef16e3a0b08d196717e929fc2ebd2fb11 · patch
- https://github.com/twigphp/Twig/security/advisories/GHSA-gv3c-qhxr-hh56 · vendor-advisory
- https://symfony.com/cve-2026-133769 · vendor-advisory
History
- 1 Dec 2026 20:28 UTC · CVE List: updated (other details)
- 1 Dec 2026 20:28 UTC · NVD: updated (other details)
- 25 Nov 2026 20:36 UTC · CVE List: first stored (published 24 Nov 2026)
- 25 Nov 2026 20:11 UTC · NVD: first stored (published 24 Nov 2026)