CVE-2026-142194
Latte through 3.1.10 contains a sandbox bypass vulnerability that …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/nette/latte/blob/v3.1.10/src/Latte/Essential/Filters.php#L665-L688
- github.com/nette/latte/blob/v3.1.10/src/Latte/Sandbox/RuntimeChecker.php#L77-L90
- www.vulncheck.com/advisories/latte-through-3.1.10-sandbox-bypass-via-map-and-filter-filter
- nvd.nist.gov/vuln/detail/CVE-2026-142194
- cve.org/CVERecord?id=CVE-2026-142194
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.