{"id":"CVE-2026-142194","summary":"Latte through 3.1.10 Sandbox Bypass via map and filter Filters","details":"Latte through 3.1.10 contains a sandbox bypass vulnerability that allows template authors to call arbitrary PHP functions by passing string callables to the |map and |filter filters. Attackers can supply a function name like system as a callable, which RuntimeChecker::args() does not check against allowFunctions(), to execute operating system commands with web application privileges.","modified":"2026-12-02T18:00:39.389640382Z","published":"2026-12-02T16:50:56.143Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142194.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-863"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142194.json"},{"type":"PACKAGE","url":"https://github.com/nette/latte"},{"type":"ARTICLE","url":"https://github.com/nette/latte/blob/v3.1.10/src/Latte/Essential/Filters.php#L665-L688"},{"type":"ARTICLE","url":"https://github.com/nette/latte/blob/v3.1.10/src/Latte/Sandbox/RuntimeChecker.php#L77-L90"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142194"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/latte-through-3.1.10-sandbox-bypass-via-map-and-filter-filters"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nette/latte","events":[{"introduced":"0"},{"last_affected":"07669617ba91e3d1f4f754bdf3a6796c8cd0b043"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"3.1.10"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["v3.1.10","v3.1.9","v3.1.7","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-142194.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:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}