Home

Description

node-tar is a full-featured Tar for Node.js. Prior to version 7.5.11, tar (npm) can be tricked into creating a symlink that points outside the extraction directory by using a drive-relative symlink target such as C:../../../target.txt, which enables file overwrite outside cwd during normal tar.x() extraction. This vulnerability is fixed in 7.5.11.

PUBLISHED Reserved 2026-03-09 | Published 2026-03-09 | Updated 2026-03-10 | Assigner GitHub_M




HIGH: 8.2CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N

Problem types

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

< 7.5.11
affected

References

github.com/...de-tar/security/advisories/GHSA-9ppj-qmqm-q256 exploit

github.com/...de-tar/security/advisories/GHSA-9ppj-qmqm-q256

github.com/...ommit/f48b5fa3b7985ddab96dc0f2125a4ffc9911b6ad

cve.org (CVE-2026-31802)

nvd.nist.gov (CVE-2026-31802)

Download JSON