CVE-2026-31802
published high CVSS 4.0 · 8.2node-tar Symlink Path Traversal via Drive-Relative Linkpath
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| isaacs | — | node-tar< 7.5.11 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned; Not Affected | Not stated | Amazon Linux assessment |
| Debian | bullseye | node-tar | Advisory build | 6.0.5+ds1+~cs11.3.9-1+deb11u3 | DLA-4552-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| isaacs | node-tar | < 7.5.11 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
2Provider assertions
2GitHub_M · cna
node-tar Symlink Path Traversal via Drive-Relative Linkpath
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ec96fccb69742e81c38831e617f499e7cee498611b554428ef3824772cd696f6
- Ingested
- 23 Sep 2026, 09:09:43 UTC
- Source record
- Official CVE record