AploSec / Disclosures / CVE-2026-142194
Latte through 3.1.10 Sandbox Bypass via map and filter Filters
CVE-2026-142194 · published 2026-12-02
In plain words: this type of bug lets a user see or change things that belong to someone else (broken access control). No fixed release is listed yet.
Summary
CVE-2026-142194 affects Latte (Packagist) <= 3.1.10: Sandbox Bypass via map and filter Filters (CWE-863). No fixed release is listed. CVSS 4.0 base score 7.7 (High), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).
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.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
No fixed release is listed in the advisory. Check the references for upstream status.
References
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/latte-through-3.1.10-sandbox-bypass-via-map-and-filter-filters
- Vulnerable codehttps://github.com/nette/latte/blob/v3.1.10/src/Latte/Sandbox/RuntimeChecker.php#L77-L90
- Vulnerable codehttps://github.com/nette/latte/blob/v3.1.10/src/Latte/Essential/Filters.php#L665-L688
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142194
- Severity
- High 7.7CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- Latte
- Ecosystem
- Packagist
- Affected
- <= 3.1.10
- Fixed
- None
- Weakness
- CWE-863
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder