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

Configuration 1 (hide)

cpe:2.3:a:unjs:nanotar:*:*:*:*:*:node.js:*:*

History

03 Apr 2026, 11:32

Type Values Removed Values Added
References () https://github.com/EthanKim88/ethan-cve-disclosures/blob/main/CVE-2025-69874-nanotar-Path-Traversal.md - () https://github.com/EthanKim88/ethan-cve-disclosures/blob/main/CVE-2025-69874-nanotar-Path-Traversal.md - Exploit, Third Party Advisory
References () https://github.com/unjs/nanotar - () https://github.com/unjs/nanotar - Product
References () https://www.npmjs.com/package/nanotar - () https://www.npmjs.com/package/nanotar - Product
CPE cpe:2.3:a:unjs:nanotar:*:*:*:*:*:node.js:*:*
First Time Unjs
Unjs nanotar
Summary
  • (es) nanotar hasta 0.2.0 tiene una vulnerabilidad de salto de ruta en parseTar() y parseTarGzip() que permite a atacantes remotos escribir archivos arbitrarios fuera del directorio de extracción previsto mediante un archivo tar manipulado que contiene una secuencia de salto de ruta.

12 Feb 2026, 15:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
CWE CWE-22

11 Feb 2026, 18:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-11 18:16

Updated : 2026-04-03 11:32


NVD link : CVE-2025-69874

Mitre link : CVE-2025-69874

CVE.ORG link : CVE-2025-69874


JSON object : View

Products Affected

unjs

  • nanotar
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')