CVE-2026-31802
Severity CVSS v4.0:
HIGH
Type:
CWE-22
Path Traversal
Publication date:
10/03/2026
Last modified:
18/03/2026
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.
Impact
Base Score 4.0
8.20
Severity 4.0
HIGH
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:isaacs:tar:*:*:*:*:*:node.js:*:* | 7.5.11 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



