# CVE-2025-69874: nanotar is vulnerable to path traversal in parseTar() and parseTarGzip()

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.93%, higher than 61% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-11T00:00:00.000Z
- Modified: 2026-06-17T10:00:54.810Z
- Also known as: GHSA-92fh-27vv-894w
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- nanotar (npm): up to 0.2.0
- unjs nanotar: up to 0.2.0

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Medium `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`

## 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> (package, product)
- <https://www.npmjs.com/package/nanotar> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-69874> (advisory)

## Sources

- CVE List: [CVE-2025-69874](https://www.cve.org/CVERecord?id=CVE-2025-69874), CVE Terms of Use, modified 2026-02-12
- GitHub Advisory Database: [GHSA-92fh-27vv-894w](https://github.com/advisories/GHSA-92fh-27vv-894w), CC-BY-4.0, modified 2026-02-11
- NVD: [CVE-2025-69874](https://nvd.nist.gov/vuln/detail/CVE-2025-69874), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-69874 · Whole record: https://cve.day/CVE-2025-69874.json · Rebuilt by cve.day 2026-11-25T22:59:11.149Z
