← CVE Intelligence

CVE-2026-29786

node-tar: Hardlink Path Traversal via Drive-Relative Linkpath PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
isaacs / node-taraffected < 7.5.10

CWE

CWE-22, CWE-59

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

redhat-SADP

A flaw was found in node-tar. A hardlink that points outside the extraction directory can be created by using a drive-relative link target such as C:../target.txt, allowing a file overwrite outside the current working directory during normal tar.x() extraction.