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
No history.
Information
Published : 2026-02-11 18:16
Updated : 2026-06-17 10:00
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')
