Skip to content
CVE PROGRAM SOURCE RECORD8.2 High

CVE-2026-31802

node-tar Symlink Path Traversal via Drive-Relative Linkpath

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

isaacs node-tar

  • < 7.5.11affected

References