Path Traversal Vulnerability in Nanotar by UnJS
CVE-2025-69874
9.8CRITICAL
What is CVE-2025-69874?
The Nanotar library, versions up to 0.2.0, contains a path traversal vulnerability within the parseTar() and parseTarGzip() functions. This flaw enables remote attackers to exploit crafted tar archives to write arbitrary files outside the designated extraction directory. As a result, unauthorized access to sensitive files could occur, posing a significant risk to system integrity and data security. Users are urged to review their implementations and update to secure versions to mitigate potential threats.
