CVE-2026-142193: Nette Latte Path Traversal
Published 2026-12-02 · Updated 2026-12-04 · Source disclosure@vulncheck.com
Not known to be exploited · medium severity — apply the vendor fix or mitigation on your normal schedule.
What to do
- The advisory lists versions through 3.1.10 as affected and does not name a fixed release. Check the references below for a newer version of Nette Latte or a vendor mitigation.
- Until it is patched, do not leave Nette Latte reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Block requests containing traversal sequences at the proxy or WAF, and run the service under an account that can only read the directories it needs.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Nette Latte | ≤ 3.1.10 | Not stated in the advisory |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact on confidentiality is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | High | Success depends on conditions outside the attacker's control. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | High | Total loss of confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness: Path Traversal
An attacker can use sequences such as "../" to reach files outside the intended directory, reading configuration or credentials and in some cases overwriting files.
Classified as CWE-22.
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.
Advisory text as published in the NVD record.
References
- Advisoryhttps://www.vulncheck.com/advisories/nette-latte-through-3.1.10-path-traversal-via-fileloader-basedir-bypass
- Referencehttps://github.com/nette/latte/blob/v3.1.10/src/Latte/Loaders/FileLoader.php#L30-L46
- Referencehttps://github.com/nette/latte/blob/v3.1.10/src/Latte/Loaders/FileLoader.php#L71-L84