CVE-2026-142193: Vulnerability in Nette Latte

Patch soon. 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.

CWE-22

Exploitation
None confirmed
Severity
8.2 of 10
Attack likelihood
Unknown
Fix
None recorded
Patch deadline
No deadline set

Details

Advisory ID
GHSA-r2vx-hp9h-4gp6
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
Weakness
CWE-22
Published
2 Dec 2026
Last change
4 Dec 2026

Affected products

Affected versions and the first fixed release

  • Nette Latte Through 3.1.10; Version 0 ≤3.1.10. No fixed version recorded

Advisories

Vendor and security advisories

Related