AploSec / Disclosures / CVE-2026-142193

High 8.2ReportedNo fix listedCWE-22Packagist

Nette Latte through 3.1.10 Path Traversal via FileLoader baseDir Bypass

CVE-2026-142193 · published 2026-12-02

In plain words: this type of bug lets someone read or write files outside the folder they should be limited to (path traversal). No fixed release is listed yet.

Summary

CVE-2026-142193 affects Latte (Packagist) <= 3.1.10: Path Traversal via FileLoader baseDir Bypass (CWE-22). No fixed release is listed. CVSS 4.0 base score 8.2 (High), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

References

Severity
High 8.2CVSS 4.0, scored by VulnCheck in the CVE record
Package
Latte
Ecosystem
Packagist
Affected
<= 3.1.10
Fixed
None
Weakness
CWE-22
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder