CVE-2026-29786

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:isaacs:tar:*:*:*:*:*:node.js:*:*

History

30 Jun 2026, 03:18

Type Values Removed Values Added
References
  • () 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 -

11 Mar 2026, 21:50

Type Values Removed Values Added
References () https://github.com/isaacs/node-tar/commit/7bc755dd85e623c0279e08eb3784909e6d7e4b9f - () https://github.com/isaacs/node-tar/commit/7bc755dd85e623c0279e08eb3784909e6d7e4b9f - Patch
References () https://github.com/isaacs/node-tar/security/advisories/GHSA-qffp-2rhf-9h96 - () https://github.com/isaacs/node-tar/security/advisories/GHSA-qffp-2rhf-9h96 - Exploit, Vendor Advisory
Summary
  • (es) node-tar es una implementación completa de Tar para Node.js. Antes de la versión 7.5.10, se puede engañar a tar para que cree un enlace duro que apunte fuera del directorio de extracción utilizando un destino de enlace relativo a la unidad, como C:../target.txt, lo que permite la sobrescritura de archivos fuera del directorio de trabajo actual (cwd) durante la extracción normal de tar.x(). Este problema ha sido parcheado en la versión 7.5.10.
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.3
First Time Isaacs
Isaacs tar
CPE cpe:2.3:a:isaacs:tar:*:*:*:*:*:node.js:*:*

07 Mar 2026, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-07 16:15

Updated : 2026-09-01 13:18


NVD link : CVE-2026-29786

Mitre link : CVE-2026-29786

CVE.ORG link : CVE-2026-29786


JSON object : View

Products Affected

isaacs

  • tar
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-59

Improper Link Resolution Before File Access ('Link Following')