CVE-2026-142193 — nette Latte
One of 3 nette Latte vulnerabilities published together by NVD: our article covers all of them.
PHPWebVulnerabilitiesSummary
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.
Severity breakdown
High · 8.2
An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- no
- User action needed
- no
- Impact
- high on confidentiality, none on integrity and availability
- Impact on other systems
- none
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| nette Latte | ≤ 3.1.10 | — |
References by type
Other references
Affected
- nette Latte
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-142193?
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. Weakness type: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22).
How severe is CVE-2026-142193?
CVE-2026-142193 has a CVSS 4.0 base score of 8.2 (high), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-142193 being exploited?
Not as far as is known: CVE-2026-142193 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.
Which versions are affected by CVE-2026-142193?
nette Latte ≤ 3.1.10.
How do I fix CVE-2026-142193?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.