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
Configurations
History
No history.
Information
Published : 2026-02-20 02:16
Updated : 2026-02-20 19:24
NVD link : CVE-2026-26960
Mitre link : CVE-2026-26960
CVE.ORG link : CVE-2026-26960
JSON object : View
Products Affected
isaacs
- tar
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
