node-tar is a full-featured Tar for Node.js. Prior to version 7.5.10, tar can be tricked into creating a hardlink that points outside the extraction directory by using a drive-relative link target such as C:../target.txt, which enables file overwrite outside cwd during normal tar.x() extraction. This issue has been patched in version 7.5.10.
History

Sat, 07 Mar 2026 15:45:00 +0000

Type Values Removed Values Added
Description node-tar is a full-featured Tar for Node.js. Prior to version 7.5.10, tar can be tricked into creating a hardlink that points outside the extraction directory by using a drive-relative link target such as C:../target.txt, which enables file overwrite outside cwd during normal tar.x() extraction. This issue has been patched in version 7.5.10.
Title node-tar: Hardlink Path Traversal via Drive-Relative Linkpath
Weaknesses CWE-22
CWE-59
References
Metrics cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-07T15:32:22.748Z

Reserved: 2026-03-04T16:26:02.899Z

Link: CVE-2026-29786

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-03-07T16:15:55.587

Modified: 2026-03-07T16:15:55.587

Link: CVE-2026-29786

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.