CVE-2026-142193
Nette Latte through 3.1.10 contains a path traversal vulnerability …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/nette/latte/blob/v3.1.10/src/Latte/Loaders/FileLoader.php#L30-L46
- github.com/nette/latte/blob/v3.1.10/src/Latte/Loaders/FileLoader.php#L71-L84
- www.vulncheck.com/advisories/nette-latte-through-3.1.10-path-traversal-via-fileloader-base
- nvd.nist.gov/vuln/detail/CVE-2026-142193
- cve.org/CVERecord?id=CVE-2026-142193
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.