ADVISORIES

GitHub Advisory Database

GHSA-92fh-27vv-894w

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

Moderate No fix available CVE-2025-69874

Details

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

EcosystemPackageAffected versions
npmnanotar
All versions up to and including 0.2.0

References