GHSA-r2vx-hp9h-4gp6HighCVSS 5.9
Nette Latte through 3.1.10 contains a path traversal vulnerability in FileLoader that allows...
🔗 CVE IDs covered (1)
📋 Description
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.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-142193
- https://github.com/nette/latte/blob/v3.1.10/src/Latte/Loaders/FileLoader.php#L30-L46
- https://github.com/nette/latte/blob/v3.1.10/src/Latte/Loaders/FileLoader.php#L71-L84
- https://www.vulncheck.com/advisories/nette-latte-through-3.1.10-path-traversal-via-fileloader-basedir-bypass
- https://github.com/advisories/GHSA-r2vx-hp9h-4gp6