Description
node-tar is a full-featured Tar for Node.js. When using default options in versions 7.5.7 and below, an attacker-controlled archive can create a hardlink inside the extraction directory that points to a file outside the extraction root, enabling arbitrary file read and write as the extracting user. Severity is high because the primitive bypasses path protections and turns archive extraction into a direct filesystem access primitive. This issue has been fixed in version 7.5.8.
References (3)
Core 3
Core References
Vendor Advisory x_refsource_confirm
https://github.com/isaacs/node-tar/security/advisories/GHSA-83g3-92jg-28cx
Patch x_refsource_misc
https://github.com/isaacs/node-tar/commit/2cb1120bcefe28d7ecc719b41441ade59c52e384
Scores
CVSS v3
7.1
EPSS
0.0001
EPSS Percentile
0.8%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-22
Status
published
Products (2)
isaacs/tar
< 7.5.8
npm/tar
0 - 7.5.8npm
Published
Feb 20, 2026
Tracked Since
Feb 20, 2026