{"id":"CVE-2026-142194","aliases":["EUVD-2026-141511","GHSA-mwcx-f3mq-4h73"],"status":"published","title":"Latte through 3.1.10 Sandbox Bypass via map and filter Filters","description":"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.","severity":{"version":"4.0","score":7.7,"vector":"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","level":"high","assessor":"cna","from":"cve","others":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},{"version":"4.0","score":7.7,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","from":"ghsa"}]},"epss":{"day":"2026-12-04","score":0.00647,"percentile":0.52429,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-863"],"published":"2026-12-02T16:50:56Z","modified":"2026-12-05T05:19:32Z","products":[{"vendor":"nette","product":"latte"}],"references":[{"url":"https://github.com/nette/latte/blob/v3.1.10/src/Latte/Sandbox/RuntimeChecker.php#L77-L90","tags":["technical-description","article"]},{"url":"https://github.com/nette/latte/blob/v3.1.10/src/Latte/Essential/Filters.php#L665-L688","tags":["technical-description","article"]},{"url":"https://www.vulncheck.com/advisories/latte-through-3.1.10-sandbox-bypass-via-map-and-filter-filters","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142194","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-mwcx-f3mq-4h73"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142194.json","tags":["advisory"]},{"url":"https://github.com/nette/latte","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-142194","title":"Latte through 3.1.10 Sandbox Bypass via map and filter Filters","description":"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.","status":"published","published":"2026-12-02T16:50:56.143Z","modified":"2026-12-05T03:18:34.057Z","cvss":[{"version":"4.0","score":7.7,"vector":"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","level":"high","assessor":"cna"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-863"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","date":"2026-12-05"},"updated_at":"2026-12-05T03:27:22.134541Z"}],"euvd":[{"id":"EUVD-2026-141511","description":"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.","status":"published","published":"2026-12-02T16:50:56Z","modified":"2026-12-05T03:18:34Z","cvss":[{"version":"4.0","score":7.7,"vector":"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","level":"high"}],"updated_at":"2026-12-02T21:27:22.841078Z"}],"ghsa":[{"id":"GHSA-mwcx-f3mq-4h73","title":"Latte through 3.1.10 contains a sandbox bypass vulnerability that allows template authors to call...","description":"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.","status":"published","published":"2026-12-02T18:31:44Z","modified":"2026-12-02T18:31:45Z","cvss":[{"version":"4.0","score":7.7,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-863"],"updated_at":"2026-12-02T18:38:43.029055Z"}],"nvd":[{"id":"CVE-2026-142194","description":"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.","status":"published","published":"2026-12-02T17:17:40.66Z","modified":"2026-12-05T05:19:32.563Z","cvss":[{"version":"4.0","score":7.7,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-863"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","date":"2026-12-05"},"updated_at":"2026-12-05T05:22:46.281266Z"}],"osv":[{"id":"CVE-2026-142194","title":"Latte through 3.1.10 Sandbox Bypass via map and filter Filters","description":"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.","status":"published","published":"2026-12-02T16:50:56.143Z","modified":"2026-12-05T04:46:10.295676931Z","cvss":[{"version":"4.0","score":7.7,"vector":"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","level":"high"}],"cwes":["CWE-863"],"updated_at":"2026-12-03T21:10:05.302032Z"}]}}
