Home

Description

node-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.

PUBLISHED Reserved 2026-01-15 | Published 2026-01-16 | Updated 2026-01-20 | Assigner GitHub_M




HIGH: 8.2CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N

Problem types

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

< 7.5.3
affected

References

github.com/...de-tar/security/advisories/GHSA-8qq5-rm4j-mr97

github.com/...ommit/340eb285b6d986e91969a1170d7fe9b0face405e

cve.org (CVE-2026-23745)

nvd.nist.gov (CVE-2026-23745)

Download JSON