CVE-2026-31802
Medium
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.
SeverityMedium
CVSS5.5
Exploit probability—
ProductIsaacs Tar
PublishedMar 10, 2026
First seenMar 10, 2026
Weakness typeCWE-22Path traversal
How to fix
Update
- isaacs tar7.5.11 or later
- tar7.5.11 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| isaacs tar | v < 7.5.11 | 7.5.11 |
| tarnpm | v < 7.5.11 | 7.5.11 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.