CVE-2026-133769Sandbox 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.
What to do
Debian has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Debian 14 | php-twig | Fix pending | DEBIAN-CVE-2026-133769 | |
| Debian 13 | php-twig | Fix pending | DEBIAN-CVE-2026-133769 | |
| Debian 12 | php-twig | Fix pending | DEBIAN-CVE-2026-133769 |
What the vendor says
As published in the CVE record by Symfony, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- twig/html-extra: affected: 3.12.0 to before 3.31.1; fixed in
3.31.1
Vendor advisories:
- https://symfony.com/cve-2026-133769 (vendor-advisory)
- https://github.com/twigphp/Twig/security/advisories/GHSA-gv3c-qhxr-hh56 (vendor-advisory)
- https://github.com/twigphp/Twig/commit/ead08daef16e3a0b08d196717e929fc2ebd2fb11 (patch)
References
- https://symfony.com/cve-2026-133769
- https://github.com/twigphp/Twig/security/advisories/GHSA-gv3c-qhxr-hh56
- https://github.com/twigphp/Twig/commit/ead08daef16e3a0b08d196717e929fc2ebd2fb11
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.