CVE-2026-31802

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

Configuration 1 (hide)

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

History

No history.

Information

Published : 2026-03-10 07:44

Updated : 2026-03-18 18:13


NVD link : CVE-2026-31802

Mitre link : CVE-2026-31802

CVE.ORG link : CVE-2026-31802


JSON object : View

Products Affected

isaacs

  • tar
CWE
CWE-22

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