CVE-2025-69874
CRITICAL 9.8CVSS 3.1nanotar is vulnerable to path traversal in parseTar() and parseTarGzip()
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.
- Published
- 11 Feb 2026
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-92fh-27vv-894w
- Sources
- NVDJSONOSV GHSA-92fh-27vv-894wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | unjs | nanotarcpe:2.3:a:unjs:nanotar:*:*:*:*:*:node.js:*:* |
<= 0.2.0 | |
| OSV | npm | nanotar | <= 0.2.0 |
References
- https://github.com/EthanKim88/ethan-cve-disclosures/blob/main/CVE-2025-69874-nanotar-Path-Traversal.md · Exploit, Third Party Advisory, WEB
- https://github.com/unjs/nanotar · Product, PACKAGE
- https://www.npmjs.com/package/nanotar · Product, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-69874 · ADVISORY
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 11 Feb 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 11 Feb 2026)