Unrated severityNVD Advisory· Published Dec 2, 2026
Nette Latte through 3.1.10 Path Traversal via FileLoader baseDir Bypass
CVE-2026-142193
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.
Patches
Vulnerability mechanics
References
3- www.vulncheck.com/advisories/nette-latte-through-3.1.10-path-traversal-via-fileloader-basedir-bypassmitrethird-party-advisory
- github.com/nette/latte/blob/v3.1.10/src/Latte/Loaders/FileLoader.phpmitretechnical-description
- github.com/nette/latte/blob/v3.1.10/src/Latte/Loaders/FileLoader.phpmitretechnical-description
News mentions
0No linked articles in our index yet.