
CVE catalog
CVE-2026-31802
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 ta
- Severity
- High · CVSS 8.2
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.26% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-tar | sid | 7.5.22+~4.0.1-1 | fixed |
| Debian | node-tar | forky | 7.5.22+~4.0.1-1 | fixed |
| Debian | node-tar | trixie | 6.2.1+~cs7.0.8-1+deb13u1 | not affected |
| Debian | node-tar | bookworm | 6.1.13+~cs7.0.5-1 | not affected |
| Debian | node-tar | bookworm-security | 6.1.13+~cs7.0.5-1+deb12u1 | not affected |
| Npm | tar | Not reported | 7.5.11 | fixed |
| Npm | tar | Not reported | 7.5.11 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-tar | source | sid | 6.2.1+ds1+~cs6.1.13-10 | not yet assigned | Not reported | Not reported |
| Debian | node-tar | source | forky | 6.2.1+ds1+~cs6.1.13-10 | not yet assigned | Not reported | Not reported |
| Debian | node-tar | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | node-tar | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Npm | tar | npm | Not reported | 7.5.11 | Not reported | GHSA-9PPJ-QMQM-Q256 | Not reported |
| Npm | tar | npm | Not reported | 7.5.11 | Not reported | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-tar]Not affected
Details (4)
6.1.13+~cs7.0.5-1· all · bookwormNot affected
nvd · node-tar · debian · bookworm
6.1.13+~cs7.0.5-1· all · bookwormNot affected
nvd · node-tar · debian · bookworm
6.1.13+~cs7.0.5-1+deb12u1· all · bookworm-securityNot affected
nvd · node-tar · debian · bookworm
6.1.13+~cs7.0.5-1+deb12u1· all · bookworm-securityNot affected
nvd · node-tar · debian · bookworm
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-31802]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-31802]
- [https://osv.dev/vulnerability/GHSA-9ppj-qmqm-q256]
- [https://security-tracker.debian.org/tracker/CVE-2026-31802]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31802.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1220.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]