CVE-2026-142193: Vulnerability in Nette Latte
Patch soon. Nette Latte through 3.1.10 contains a path traversal vulnerability in FileLoader that allows attackers to bypass the baseDir restriction by supplying template names beginning with '/../'. Attackers controlling the template name passed to Engine::render() can exploit flawed normalizePath() handling of empty segments to read any file readable by the PHP process.
CWE-22
- Exploitation
- None confirmed
- Severity
- 8.2 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-r2vx-hp9h-4gp6
- Vector
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- Weakness
- CWE-22
- Published
- 2 Dec 2026
- Last change
- 4 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/Loaders/FileLoader.php
- github.com/nette/latte/blob/v3.1.10/src/Latte/Loaders/FileLoader.php
- vulncheck.com/advisories/nette-latte-through-3.1.10-path-traversal-via-fileloader-based...
Related
- Latte vulnerabilities Recent advisories, watch this product