CVE-2025-69874 nanotar is vulnerable to path traversal in parseTar() and parseTarGzip()
CriticalCVSS 9.8
EPSS 0.93%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm nanotar(npm) | <= 0.2.0 | No fix listed |
| unjs nanotar | <= 0.2.0 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit third-party-advisory
- github.com product
- www.npmjs.com product
- github.com