{"id":"CVE-2026-142195","summary":"Latte before 3.1.7 Sandbox Bypass via Double-Evaluated Dynamic Property Names","details":"Latte before 3.1.7 contains a sandbox bypass vulnerability that allows template authors to read forbidden properties by abusing double-evaluated dynamic property names. Attackers can craft side-effecting name expressions in PropertyFetchNode or StaticPropertyFetchNode so the policy check sees an allowed property while access reads a forbidden one.","modified":"2026-12-02T20:45:34.736025300Z","published":"2026-12-02T16:50:55.021Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-863"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142195.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142195.json"},{"type":"PACKAGE","url":"https://github.com/nette/latte"},{"type":"ARTICLE","url":"https://github.com/nette/latte/blob/v3.1.6/src/Latte/Compiler/PrintContext.php#L244-L260"},{"type":"ARTICLE","url":"https://github.com/nette/latte/blob/v3.1.6/src/Latte/Sandbox/Nodes/PropertyFetchNode.php#L25-L32"},{"type":"FIX","url":"https://github.com/nette/latte/commit/3c70898a0a5e5624509b7fe57753aa2b8794ed1c"},{"type":"ADVISORY","url":"https://github.com/nette/latte/releases/tag/v3.1.7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142195"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/latte-before-3.1.7-sandbox-bypass-via-double-evaluated-dynamic-property-names"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nette/latte","events":[{"introduced":"0"},{"fixed":"c169e1346947deceb699c5976d6307829c68c4c8"},{"fixed":"3c70898a0a5e5624509b7fe57753aa2b8794ed1c"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"3.1.7"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"3c70898a0a5e5624509b7fe57753aa2b8794ed1c"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_TAG","original_tag":"v3.1.7","range":[{"fixed":"c169e1346947deceb699c5976d6307829c68c4c8"}]}]}}],"versions":["v3.1.6","v3.1.5","v3.1.4","v3.1.3","v3.1.2","v3.1.1","v3.1.0","v3.0.24","v3.0.23","v3.0.22","v3.0.21","v3.0.20","v3.0.18","v3.0.16","v3.0.14","v3.0.13","v3.0.12","v3.0.10","v2.10.9","v3.0.9","v3.0.7","v3.0.6","v3.0.5","v3.0.4","v3.0.3","v3.0.2","v3.0.1","v3.0.0","v2.11.3","v2.11.2","v2.11.1","v2.11.0","v2.10.8","v2.10.7","v2.10.6","v2.10.5","v2.10.4","v2.10.3","v2.10.2","v2.10.1","v2.6.2","v2.9.2","v2.9.1","v2.9.0","v2.8.3","v2.8.2","v2.8.1","v2.8.0","v2.7.1","v2.7.0","v2.6.1","v2.6.0","v2.5.4","v2.5.3","v2.5.2","v2.5.1","v2.5.0","v2.4.3","v2.4.2","v2.4.1","v2.4.0","v2.3.2","v2.3.1","v2.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142195.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}]}