CVE-2026-31802
node-tar Symlink Path Traversal via Drive-Relative Linkpath
5.5
MEDIUM
CVSS 3.1
EPSS 0.01%
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.
How to fix CVE-2026-31802
To remediate CVE-2026-31802, upgrade the affected package to a fixed version below.
- —upgrade to 6.0.5+ds1+~cs11.3.9-1+deb11u3 or later
- —upgrade to 7.5.11 or later
Is CVE-2026-31802 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 6.0.5+ds1+~cs11.3.9-1+deb11u3
- from 0, < 7.5.11
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |