CVE-2026-29786: node-tar - Path Traversal
- Cve: CVE-2026-29786
- Name: node-tar - Path Traversal
- 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.
- Impact: Attackers can overwrite arbitrary files outside the extraction directory, potentially leading to system compromise or data loss.
- Remediation: Update to version 7.5.10 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.3
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
- Epss score: 0.00511
- Epss percentile: 0.44469
- Assignee: [email protected]
- Published at: 2026-03-07T16:15:55Z
- Age in days: 262
- Modified at: 2026-09-01T13:18:36Z
- Patch available: yes
- Public exploits total: 3
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-29786
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/isaacs/node-tar/security/advisories/GHSA-qffp-2rhf-9h96 | nvd | 2026-03-07 |
| https://github.com/Rohitberiwala/NodeJS-Tar-Symlink-Exploit-CVE-2026-29786 | poc-in-github | 2026-03-10 |
| https://github.com/Jvr2022/CVE-2026-29786 | poc-in-github | 2026-03-05 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| isaacs:tar | < 7.5.10 | no | nvd | /v1/products/isaacs/tar |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| isaacs/node-tar | commit, package, security_advisory | yes | /v1/repositories/isaacs/node-tar |
Index
- Repositories: 1411
- Repositories high signal: 685
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 3
- Public exploit first date: 2026-03-05
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts