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

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debiannode-tarsid7.5.22+~4.0.1-1fixed
Debiannode-tarforky7.5.22+~4.0.1-1fixed
Debiannode-tartrixie6.2.1+~cs7.0.8-1+deb13u1not affected
Debiannode-tarbookworm6.1.13+~cs7.0.5-1not affected
Debiannode-tarbookworm-security6.1.13+~cs7.0.5-1+deb12u1not affected
NpmtarNot reported7.5.11fixed
NpmtarNot reported7.5.11fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-tarsourcesid6.2.1+ds1+~cs6.1.13-10not yet assignedNot reportedNot reported
Debiannode-tarsourceforky6.2.1+ds1+~cs6.1.13-10not yet assignedNot reportedNot reported
Debiannode-tarsourcetrixieNot affectedunimportantNot reportedNot reported
Debiannode-tarsourcebookwormNot affectedunimportantNot reportedNot reported
NpmtarnpmNot reported7.5.11Not reportedGHSA-9PPJ-QMQM-Q256Not reported
NpmtarnpmNot reported7.5.11Not reportedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [node-tar]Not affected
    Details (4)
    • 6.1.13+~cs7.0.5-1 · all · bookworm

      Not affected

      nvd · node-tar · debian · bookworm

    • 6.1.13+~cs7.0.5-1 · all · bookworm

      Not affected

      nvd · node-tar · debian · bookworm

    • 6.1.13+~cs7.0.5-1+deb12u1 · all · bookworm-security

      Not affected

      nvd · node-tar · debian · bookworm

    • 6.1.13+~cs7.0.5-1+deb12u1 · all · bookworm-security

      Not affected

      nvd · node-tar · debian · bookworm

Observed:

References