{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-133769","assignerOrgId":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","state":"PUBLISHED","assignerShortName":"Symfony","dateReserved":"2026-11-20T14:01:43.159Z","datePublished":"2026-11-24T13:07:52.236Z","dateUpdated":"2026-11-24T13:07:52.236Z"},"containers":{"cna":{"providerMetadata":{"orgId":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","shortName":"Symfony","dateUpdated":"2026-11-24T13:07:52.236Z"},"title":"Sandbox property allow-list bypass via `html_cva()` variant values","datePublic":"2026-11-24T12:58:43.000Z","descriptions":[{"lang":"en","value":"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.","supportingMedia":[{"type":"text/markdown","base64":false,"value":"`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```twig\n{{ html_cva('base', {c: {p: user}}).apply({c: 'p'}) }}\n```\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."}]}],"affected":[{"vendor":"Twig","product":"twig/html-extra","collectionURL":"https://packagist.org","packageName":"twig/html-extra","repo":"https://github.com/twigphp/Twig","defaultStatus":"unaffected","versions":[{"version":"3.12.0","status":"affected","lessThan":"3.31.1","versionType":"semver"}]}],"problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-863","description":"CWE-863 Incorrect Authorization","type":"CWE"}]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"version":"4.0","vectorString":"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","baseScore":2.3,"baseSeverity":"LOW"}}],"references":[{"url":"https://symfony.com/cve-2026-133769","name":"CVE-2026-133769","tags":["vendor-advisory"]},{"url":"https://github.com/twigphp/Twig/security/advisories/GHSA-gv3c-qhxr-hh56","name":"GHSA-gv3c-qhxr-hh56","tags":["vendor-advisory"]},{"url":"https://github.com/twigphp/Twig/commit/ead08daef16e3a0b08d196717e929fc2ebd2fb11","tags":["patch"]}],"credits":[{"lang":"en","value":"Fabien Potencier","type":"remediation developer"}],"source":{"advisory":"GHSA-gv3c-qhxr-hh56","discovery":"UNKNOWN"},"x_generator":{"engine":"symfony/ghsa-to-cve"}}}}