CVE-2026-31802
Last modified
CVE-2026-31802 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. 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. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Isaacs | Tar | < 7.5.11 |
References
- https://github.com/isaacs/node-tar/security/advisories/GHSA-9ppj-qmqm-q256Exploit, Vendor Advisory
- https://github.com/isaacs/node-tar/security/advisories/GHSA-9ppj-qmqm-q256Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-31802?
How severe is CVE-2026-31802?
How do I fix CVE-2026-31802?
Are you affected by CVE-2026-31802?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
