Path Traversal in Unjs Nanotar
CVE-2025-69874
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.009 (56.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 57th percentile — 56.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.008 · newest: 0.009 · change: +0.000
Affected products
Weakness classification (CWE)
References
- github.com/unjs/nanotar (Product)
- www.npmjs.com/package/nanotar (Product)
- github.com/EthanKim88/ethan-cve-disclosures/blob/main/CVE-2025-69874-nanotar-Pa… (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2025-69874?
- CVE-2025-69874 is a critical-severity vulnerability in Unjs Nanotar, classified under Path Traversal. CVSS score: 9.8/10. Published 2026-02-11.
- How severe is CVE-2025-69874?
- Critical severity. CVSS v3 base score is 9.8 out of 10.