Directory Traversal Affecting node-tar package, versions <6.2.1+~cs7.0.8-1+deb13u1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.35% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-NODETAR-15032904
  • published18 Jan 2026
  • disclosed16 Jan 2026

Introduced: 16 Jan 2026

CVE-2026-23745  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Debian:13 node-tar to version 6.2.1+~cs7.0.8-1+deb13u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-tar package and not the node-tar package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1