Skip to content

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

CriticalCVSS 9.8 EPSS 0.93% PoC
Published
Updated
Exploit status
Proof-of-concept only

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.

Affected products

ProductAffected versionsFixed in
npm nanotar(npm) <= 0.2.0 No fix listed
unjs nanotar <= 0.2.0 No fix listed

References