CVE-2026-29786Published Mar 7, 2026 · Mar 7Updated Oct 28
node-tar: Hardlink Path Traversal via Drive-Relative Linkpath
isaacs node-tar
High8.2Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| tar npm |
|
|
Original 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.
From the CVE record · GitHub_M