Directory Traversal The advisory has been revoked - it doesn't affect any version of package node-tar  (opens in a new tab)


Threat Intelligence

EPSS
0.27% (19th 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-15445103
  • published10 Mar 2026
  • disclosed10 Mar 2026

Introduced: 10 Mar 2026

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

Amendment

The Debian security team deemed this advisory irrelevant for Debian:13.

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.

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