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.
Affected software
| Software | Affected versions |
|---|---|
latte/lattePackagist · osv:Packagist:latte/latte |
|
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
- CVE-2026-142194Latte through 3.1.10 Sandbox Bypass via map and filter FiltersHigh 7.7 2 Dec 2026
- CVE-2026-142195Latte before 3.1.7 Sandbox Bypass via Double-Evaluated Dynamic Property NamesLow 2.3 2 Dec 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142193