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.
History

Wed, 02 Dec 2026 17:00:00 +0000

Type Values Removed Values Added
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.
Title Nette Latte through 3.1.10 Path Traversal via FileLoader baseDir Bypass
First Time appeared Nette
Nette latte
Weaknesses CWE-22
CPEs cpe:2.3:a:nette:latte:*:*:*:*:*:*:*:*
Vendors & Products Nette
Nette latte
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.2, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-12-02T16:50:57.236Z

Updated: 2026-12-02T16:50:57.236Z

Reserved: 2026-12-02T15:28:35.884Z

Link: CVE-2026-142193

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.