CVE-2026-31802

NameCVE-2026-31802
Descriptionnode-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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-tar (PTS)bullseye (security), bullseye6.0.5+ds1+~cs11.3.9-1+deb11u2fixed
bookworm6.1.13+~cs7.0.5-1fixed
trixie6.2.1+~cs7.0.8-1fixed
forky, sid6.2.1+ds1+~cs6.1.13-8fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-tarsource(unstable)(not affected)

Notes

- node-tar <not-affected> (Vulnerable code not present)
https://github.com/isaacs/node-tar/security/advisories/GHSA-9ppj-qmqm-q256
Fixed by: https://github.com/isaacs/node-tar/commit/f48b5fa3b7985ddab96dc0f2125a4ffc9911b6ad (v7.5.11)
Vulnerability introduced by the upstream fixes for CVE-2026-23745, i.e. upstream's
https://github.com/isaacs/node-tar/commit/340eb285b6d986e91969a1170d7fe9b0face405e
https://github.com/isaacs/node-tar/commit/e9a1ddb821b29ddee75b9470dd511066148c8070

Search for package or bug name: Reporting problems