CVE-2026-142193
HIGH 8.2CVSS 4.0Nette Latte through 3.1.10 Path Traversal via FileLoader baseDir Bypass
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.
- Published
- 2 Dec 2026
- Last modified
- 2 Dec 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Received
- Weakness
- CWE-22
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 8.2 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | VulnCheck | CVSS 4.0 | HIGH 8.2 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CVE List | VulnCheck | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | nette | Latte | <= 3.1.10 |
References
- https://github.com/nette/latte/blob/v3.1.10/src/Latte/Loaders/FileLoader.php#L30-L46 · technical-description
- https://github.com/nette/latte/blob/v3.1.10/src/Latte/Loaders/FileLoader.php#L71-L84 · technical-description
- https://www.vulncheck.com/advisories/nette-latte-through-3.1.10-path-traversal-via-fileloader-basedir-bypass · third-party-advisory
History
- 3 Dec 2026 00:30 UTC · NVD: updated (other details)
- 2 Dec 2026 23:30 UTC · CVE List: updated (other details)
- 2 Dec 2026 17:35 UTC · NVD: first stored (published 2 Dec 2026)
- 2 Dec 2026 16:57 UTC · CVE List: first stored (published 2 Dec 2026)