Link Following Affecting tar package, versions *


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.14% (4th 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-CENTOS6-TAR-18548591
  • published5 Aug 2026
  • disclosed31 Jul 2026

Introduced: 31 Jul 2026

NewCVE-2026-18508  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

There is no fixed version for Centos: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 Centos. See How to fix? for Centos:6 relevant fixed versions and status.

A flaw was found in GNU tar. When extracting an archive with the --one-top-level option, hardlink targets are not confined to the designated top-level directory and may resolve relative to the extraction working directory. A crafted archive can create hardlinks that escape the intended boundary and, when combined with a preexisting symbolic link under the working directory, may allow writing outside that boundary during a single extraction.

CVSS Base Scores

version 3.1