CVE-2026-26960CWE-22

node-tar has Arbitrary File Read/Write via Hardlink Target Escape Through Symlink Chain in Extraction

High · published February 20, 2026

CVSS v3.1
7.1
EPSS
0%
Percentile
13.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00232 · 13.2th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-02-20T01:07Z
EPSS history
Timeline
  • 20 FEB 01:07Z
    node-tar has Arbitrary File Read/Write via Hardlink Target Escape Through Symlink Chain in Extraction
    cvelistv5