CVE-2026-142193

Nette Latte through 3.1.10 Path Traversal via FileLoader baseDir Bypass

Published Dec 2, 2026 CVSS 4.0 · 8.2 High EPSS n/a KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Dec 2, 2026, 4:50 PM
Reserved
Dec 2, 2026, 3:28 PM
Status
Received
Published
Dec 2, 2026, 5:17 PM
Modified
Dec 2, 2026, 5:17 PM