CVE-2026-31802 HIGH

CVE-2026-31802: node-tar Symlink Path Traversal via Drive-Relative Linkpath

Vendor Isaacs
Product node-tar
Weakness CWE-22 · Path traversal
Published March 9, 2026
Last update March 10, 2026

CVSS base score

8.2/10
Attack vector Local
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 9, 2026 CVE published
March 10, 2026 Record updated