Ad

CVE-2025-69874

CRITICAL CVSS 3.1: 9.8 EPSS 0.12%
Updated Apr 03, 2026
Unjs
Parameter Value
CVSS 9.8 (CRITICAL)
Affected Versions before 0.2.0
Type CWE-22 (Path Traversal)
Vendor Unjs
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Unjs Nanotar
cpe:2.3:a:unjs:nanotar:*:*:*:*:*:node.js:*:*
<= 0.2.0