Vulnerability · Published Mar 7, 2026 · Assigned by GitHub_M
CVE-2026-29786node-tar: Hardlink Path Traversal via Drive-Relative Linkpath
High 8.6
In plain English
A high-severity path traversal in node-tar from isaacs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-tar | 6.1.13+~cs7.0.5-1+deb12u1 | DEBIAN-CVE-2026-29786 |
| Debian:13 | node-tar | 6.2.1+~cs7.0.8-1+deb13u1 | DEBIAN-CVE-2026-29786 |
| Debian:14 | node-tar | 6.2.1+ds1+~cs6.1.13-8 | DEBIAN-CVE-2026-29786 |
| Ubuntu:22.04:LTS | node-tar | no fix listed | UBUNTU-CVE-2026-29786 |
| Ubuntu:24.04:LTS | node-tar | no fix listed | UBUNTU-CVE-2026-29786 |
| Ubuntu:25.10 | node-tar | no fix listed | UBUNTU-CVE-2026-29786 |
| Ubuntu:26.04:LTS | node-tar | no fix listed | UBUNTU-CVE-2026-29786 |
| npm | tar | 7.5.10 | GHSA-qffp-2rhf-9h96 |
Affected products (as reported)
Weakness: CWE-22, CWE-59 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
References
- https://github.com/isaacs/node-tar/security/advisories/GHSA-qffp-2rhf-9h96 x_refsource_CONFIRM
- https://github.com/isaacs/node-tar/commit/7bc755dd85e623c0279e08eb3784909e6d7e4b9f x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-29786 vdb-entry, x_refsource_REDHAT
- RHBZ#2445476 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-29786.json x_sadp-csaf-vex