NetSight
critical9.8

CVE-2025-69874

nanotar is vulnerable to path traversal in parseTar() and parseTarGzip()

Impact

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 packages

EcosystemPackageAffectedFixed in
npmnanotar<= 0.2.0none recorded

Affected products

VendorProductAffected versions
UnjsNanotar
through 0.2.0

Weakness classification

References