CVE-2026-26960

NameCVE-2026-26960
Descriptionnode-tar is a full-featured Tar for Node.js. When using default options in versions 7.5.7 and below, an attacker-controlled archive can create a hardlink inside the extraction directory that points to a file outside the extraction root, enabling arbitrary file read and write as the extracting user. Severity is high because the primitive bypasses path protections and turns archive extraction into a direct filesystem access primitive. This issue has been fixed in version 7.5.8.
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+deb11u2vulnerable
bookworm6.1.13+~cs7.0.5-1vulnerable
trixie6.2.1+~cs7.0.8-1vulnerable
forky, sid6.2.1+ds1+~cs6.1.13-7vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-tarsource(unstable)(unfixed)

Notes

https://github.com/isaacs/node-tar/security/advisories/GHSA-83g3-92jg-28cx
Fixed by: https://github.com/isaacs/node-tar/commit/2cb1120bcefe28d7ecc719b41441ade59c52e384 (v7.5.8)
Fixed by: https://github.com/isaacs/node-tar/commit/d18e4e1f846f4ddddc153b0f536a19c050e7499f (v7.5.8)

Search for package or bug name: Reporting problems