Elevated
Nette Latte FileLoader path traversal bypasses baseDir restriction
CVE-2026-142193
PHP sites using this template tool can have server files stolen.
- CVE
- CVE-2026-142193 (opens in a new tab)
- Score
- CVSS 8.2
- First seen
8.2
Products
Mitigation
Check that the product runs a version newer than 3.1.10 and read the vendor's advisory.
Summary
Nette Latte through 3.1.10 has a path traversal flaw in FileLoader that bypasses the baseDir restriction. An attacker who controls the template name can read any server file the PHP process can read.
Affected when
- FileLoader with a baseDir set
- Attacker controls the template name passed to Engine::render()
2 other Incidents of this product in the last 30 days
Incidents by product: Nette Latte
Other recent Incidents of Nette Latte
Read the write-up · github.com (opens in a new tab)
Write-up (3): github.com, vulncheck.com
- CVE record: cve.org (opens in a new tab)