Ad

CVE-2026-31802

HIGH CVSS 4.0: 8.2 EPSS 0.01%
Updated Mar 18, 2026
Isaacs
Parameter Value
CVSS 8.2 (HIGH)
Affected Versions before 7.5.11
Fixed In 7.5.11
Type CWE-22 (Path Traversal)
Vendor Isaacs
Public PoC No

node-tar is a full-featured Tar for Node.js. Prior to version 7.5.11, tar (npm) can be tricked into creating a symlink that points outside the extraction directory by using a drive-relative symlink target such as C:../../../target.txt, which enables file overwrite outside cwd during normal tar.x() extraction. This vulnerability is fixed in 7.5.11.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Isaacs Tar
cpe:2.3:a:isaacs:tar:*:*:*:*:*:node.js:*:*
7.5.11