nanotar through 0.2.0 has a path traversal vulnerability in parseTar() and parseTarGzip() that allows remote attackers to write arbitrary files outside the intended extraction directory via a crafted tar archive containing path traversal sequence.
References
| Link | Resource |
|---|---|
| https://github.com/EthanKim88/ethan-cve-disclosures/blob/main/CVE-2025-69874-nanotar-Path-Traversal.md | Exploit Third Party Advisory |
| https://github.com/unjs/nanotar | Product |
| https://www.npmjs.com/package/nanotar | Product |
Configurations
History
03 Apr 2026, 11:32
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/EthanKim88/ethan-cve-disclosures/blob/main/CVE-2025-69874-nanotar-Path-Traversal.md - Exploit, Third Party Advisory | |
| References | () https://github.com/unjs/nanotar - Product | |
| References | () https://www.npmjs.com/package/nanotar - Product | |
| CPE | cpe:2.3:a:unjs:nanotar:*:*:*:*:*:node.js:*:* | |
| First Time |
Unjs
Unjs nanotar |
|
| Summary |
|
12 Feb 2026, 15:16
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 9.8 |
| CWE | CWE-22 |
11 Feb 2026, 18:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-02-11 18:16
Updated : 2026-04-03 11:32
NVD link : CVE-2025-69874
Mitre link : CVE-2025-69874
CVE.ORG link : CVE-2025-69874
JSON object : View
Products Affected
unjs
- nanotar
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
