CVE-2025-69874: Vulnerability in Unjs Nanotar
Critical. 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.
npm, CWE-22
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- 0.9 % in 30 days
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-92fh-27vv-894w
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-22
- Published
- 11 Feb 2026
- Last change
- 17 Jun 2026
- Likelihood rank
- Higher than 62 % of all rated vulnerabilities
- Analysis status
- Analyzed
- Ecosystem
- npm
Affected products
Affected versions and the first fixed release
- Unjs Nanotar Through 0.2.0. No fixed version recorded
Affected packages
Vulnerable version ranges and fixed releases
- nanotar npm, Affected through 0.2.0. No fixed version recorded
Advisories
Vendor and security advisories
Exploit code
Public exploits and proofs of concept, handle with care
Related
- Nanotar vulnerabilities Recent advisories, watch this product