CVE-2026-29786
HIGH 8.2CVSS 4.0tar has Hardlink Path Traversal via Drive-Relative Linkpath
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.
- Published
- 7 Mar 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-22CWE-59
- Also known as
- GHSA-qffp-2rhf-9h96
- Sources
- NVDJSONOSV GHSA-qffp-2rhf-9h96JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.2 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | isaacs | tarcpe:2.3:a:isaacs:tar:*:*:*:*:*:node.js:*:* |
< 7.5.10 | 7.5.10 |
| OSV | npm | tar | < 7.5.10 | 7.5.10 |
References
- https://github.com/isaacs/node-tar/commit/7bc755dd85e623c0279e08eb3784909e6d7e4b9f · Patch, WEB
- https://github.com/isaacs/node-tar/security/advisories/GHSA-qffp-2rhf-9h96 · Exploit, Vendor Advisory, WEB
- https://access.redhat.com/security/cve/CVE-2026-29786
- https://bugzilla.redhat.com/show_bug.cgi?id=2445476
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-29786.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-29786 · ADVISORY
- https://github.com/isaacs/node-tar · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 7 Mar 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Mar 2026)