Directory Traversal Affecting tar package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

Social Trends
EPSS
0.25% (17th 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-RHEL6-TAR-15546042
  • published14 Mar 2026
  • disclosed9 Mar 2026

Introduced: 9 Mar 2026

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

How to fix?

There is no fixed version for RHEL:6 tar.

NVD Description

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

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.

CVSS Base Scores

version 3.1