{"id":"CVE-2026-133769","summary":"Sandbox property allow-list bypass via `html_cva()` variant values","details":"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:\n\n{{ html_cva('base', {c: {p: user}}).apply({c: 'p'}) }}\n\nVariant 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.\n\nApplications are affected when the sandbox allows the html_cva function and the apply method of Twig\\Extra\\Html\\Cva.\n\nA 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.","aliases":["GHSA-gv3c-qhxr-hh56"],"modified":"2026-11-24T15:00:49.605520795Z","published":"2026-11-24T13:07:52.236Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133769.json","unresolved_ranges":[{"extracted_events":[{"range":[{"introduced":"3.12.0"},{"fixed":"3.31.1"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}],"cna_assigner":"Symfony","cwe_ids":["CWE-863"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133769.json"},{"type":"PACKAGE","url":"https://github.com/twigphp/Twig"},{"type":"FIX","url":"https://github.com/twigphp/Twig/commit/ead08daef16e3a0b08d196717e929fc2ebd2fb11"},{"type":"ADVISORY","url":"https://github.com/twigphp/Twig/security/advisories/GHSA-gv3c-qhxr-hh56"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133769"},{"type":"WEB","url":"https://packagist.org"},{"type":"ADVISORY","url":"https://symfony.com/cve-2026-133769"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/twigphp/twig","events":[{"introduced":"0"},{"fixed":"ead08daef16e3a0b08d196717e929fc2ebd2fb11"}],"database_specific":{"extracted_events":[{"range":[{"fixed":"ead08daef16e3a0b08d196717e929fc2ebd2fb11"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v3.30.0","v3.29.0","v3.28.0","v3.27.1","v3.27.0","v3.26.0","v3.25.0","v3.24.0","v3.23.0","v3.22.2","v3.22.1","v3.22.0","v3.21.1","v3.21.0","v3.20.0","v3.19.0","v3.18.0","v3.17.1","v3.17.0","v3.16.0","v3.15.0","v3.14.0","v3.11.0","v3.13.0","v3.12.0","v3.10.3","v3.10.2","v3.10.1","v3.10.0","v3.9.3","v3.9.2","v3.9.1","v3.9.0","v3.8.0","v3.7.1","v3.7.0","v3.6.1","v3.6.0","v3.5.1","v3.5.0","v3.4.3","v3.4.2","v3.4.1","v3.4.0","v3.3.10","v3.3.9","v3.3.8","v3.3.7","v3.3.6","v3.3.5","v3.3.4","v3.3.3","v3.3.2","v3.3.1","v3.3.0","v3.2.1","v3.1.1","v3.1.0","v3.0.5","v3.0.4","v3.0.3","v3.0.2","v3.0.1","v3.0.0","v3.0.0-BETA1","v2.8.1","v2.8.0","v2.7.4","v2.7.3","v2.7.2","v2.7.1","v2.7.0","v2.6.2","v2.6.1","v2.6.0","v2.5.0","v2.4.8","v2.4.7","v2.4.6","v2.4.5","v2.4.4","v2.4.3","v2.4.2","v2.4.1","v2.4.0","v2.3.2","v2.3.1","v2.3.0","v2.2.0","v2.1.0","v2.0.0","v1.18.0","v1.17.0","v1.16.3","v1.16.2","v1.16.1","v1.16.0","v1.15.1","v1.15.0","v1.14.2","v1.14.1","v1.14.0","v1.13.2","v1.13.1","v1.13.0","v1.12.3","v1.12.2","v1.12.1","v1.12.0","v1.12.0-RC1","v1.11.1","v1.11.0","v1.10.3","v1.10.2","v1.10.1","v1.10.0","v1.9.2","v1.9.1","v1.9.0","v1.8.3","v1.8.2","v1.8.1","v1.8.0","v1.7.0","v1.6.4","v1.6.3","v1.6.2","v1.6.1","v1.5.1","v1.6.0","v1.5.0","v1.5.0-RC2","v1.5.0-RC1","v1.4.0","v1.4.0-RC2","v1.4.0-RC1","v1.3.0","v1.3.0-RC1","v1.2.0","v1.2.0-RC1","v1.1.2","v1.1.1","v1.1.0","v1.1.0-RC3","v1.1.0-RC2","v1.1.0-RC1","v1.0.0","v1.0.0-RC2","v1.0.0-RC1","v0.9.10","v0.9.9","v0.9.8","v0.9.7","v0.9.6","v0.9.5","v0.9.4","v0.9.2","v0.9.1","v0.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-133769.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}