SecurityContext

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

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Public exploits

UrlSourceAdded date
https://github.com/isaacs/node-tar/security/advisories/GHSA-qffp-2rhf-9h96nvd2026-03-07
https://github.com/Rohitberiwala/NodeJS-Tar-Symlink-Exploit-CVE-2026-29786poc-in-github2026-03-10
https://github.com/Jvr2022/CVE-2026-29786poc-in-github2026-03-05

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/isaacs/node-tar/commit/7bc755dd85e623c0279e08eb3784909e6d7e4b9fPatch
https://github.com/isaacs/node-tar/security/advisories/GHSA-qffp-2rhf-9h96Exploit, Vendor Advisory
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

Products

ProductAffectedPlatform boundSourcesUrl
isaacs:tar< 7.5.10nonvd/v1/products/isaacs/tar

Projects

RepositoryLink kindsIndexedUrl
isaacs/node-tarcommit, package, security_advisoryyes/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