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.
History

Fri, 20 Feb 2026 01:30:00 +0000

Type Values Removed Values Added
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.
Title node-tar has Arbitrary File Read/Write via Hardlink Target Escape Through Symlink Chain in Extraction
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-02-20T01:07:52.979Z

Reserved: 2026-02-16T22:20:28.611Z

Link: CVE-2026-26960

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-02-20T02:16:53.883

Modified: 2026-02-20T02:16:53.883

Link: CVE-2026-26960

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.