CVE-2026-18508CWE-59

CVE-2026-18508

Medium · published August 3, 2026

CVSS v3.1
4.4
EPSS
0%
Percentile
3.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.4 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00141 · 3.1th percentile
Weakness
CWE-59 · Improper Link Resolution Before File Access ('Link Following')
Published
2026-08-03T20:16Z
Affected products (5)
ProductVersionsFixed in
gnu/tarall versions—
redhat/openshift_container_platformall versions—
redhat/enterprise_linuxall versions—
redhat/enterprise_linuxall versions—
redhat/enterprise_linuxall versions—
References (8)
EPSS history
Timeline
  • 03 AUG 14:51Z
    Tar: tar: --one-top-level hardlink targets not confined to top-level directory enabling arbitrary file overwrite
    cvelistv5