GHSA-mwcx-f3mq-4h73HighCVSS 7.5
Latte through 3.1.10 contains a sandbox bypass vulnerability that allows template authors to call...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-142194
- https://github.com/nette/latte/blob/v3.1.10/src/Latte/Essential/Filters.php#L665-L688
- https://github.com/nette/latte/blob/v3.1.10/src/Latte/Sandbox/RuntimeChecker.php#L77-L90
- https://www.vulncheck.com/advisories/latte-through-3.1.10-sandbox-bypass-via-map-and-filter-filters
- https://github.com/advisories/GHSA-mwcx-f3mq-4h73