CVE-2026-142194: Vulnerability in Nette Latte
Patch soon. 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.
CWE-863
- Exploitation
- None confirmed
- Severity
- 7.7 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-mwcx-f3mq-4h73
- 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
- Weakness
- CWE-863
- Published
- 2 Dec 2026
- Last change
- 5 Dec 2026
Affected products
Affected versions and the first fixed release
- Nette Latte Through 3.1.10; Version 0 ≤3.1.10. No fixed version recorded
Advisories
Vendor and security advisories
- github.com/nette/latte/blob/v3.1.10/src/Latte/Sandbox/RuntimeChecker.php
- github.com/nette/latte/blob/v3.1.10/src/Latte/Essential/Filters.php
- vulncheck.com/advisories/latte-through-3.1.10-sandbox-bypass-via-map-and-filter-filters
Related
- Latte vulnerabilities Recent advisories, watch this product