All vulnerabilities

Packagist

CVE-2026-142193

Nette Latte through 3.1.10 Path Traversal via FileLoader baseDir Bypass

Severity
High 8.2
Published
2 Dec 2026
Last changed
2 Dec 2026
Added to UpHeron
2 Dec 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data
CVSS 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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
latte/lattePackagist · osv:Packagist:latte/latte
  • Every version up to 3.1.10

About latte/latte

Monthly downloads (Packagist)
472,993Packagist, 2 Dec 2026
Total downloads (Packagist)
17,665,556Packagist, 2 Dec 2026

Vulnerabilities in latte/latte

In our list
3
Published in the last 12 months
3
Critical, last 12 months
0
High, last 12 months
2
Known exploited
0
Search the list for latte/latte

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142193