CVE-2026-23745

NameCVE-2026-23745
Descriptionnode-tar is a Tar for Node.js. The node-tar library (<= 7.5.2) fails to sanitize the linkpath of Link (hardlink) and SymbolicLink entries when preservePaths is false (the default secure behavior). This allows malicious archives to bypass the extraction root restriction, leading to Arbitrary File Overwrite via hardlinks and Symlink Poisoning via absolute symlink targets. This vulnerability is fixed in 7.5.3.
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-5vulnerable

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-8qq5-rm4j-mr97
Fixed by: https://github.com/isaacs/node-tar/commit/340eb285b6d986e91969a1170d7fe9b0face405e (v7.5.3)

Search for package or bug name: Reporting problems