4.4

CVE-2026-18508: Tar: tar: --one-top-level hardlink targets not confined to top-level directory enabling arbitrary file overwrite

Modified
AliasesRHSA-2026:50807UBUNTU-CVE-2026-18508DEBIAN-CVE-2026-18508
Published 03-08-2026Last modified 05-11-2026

Vulnerability summary

CVE-2026-18508 is a medium (CVSS 4.4) vulnerability in gnu tar. EPSS estimates a 0.18% chance of exploitation in the next 30 days, higher than 7.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4.4, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
4.4/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.18%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 5 · Related 1

Timeline

  1. 03-08-2026
    PublishedVulnerability first disclosed.
  2. 05-11-2026
    Last modifiedVulnerability information updated.

Description

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 metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.18%

Chance of exploitation in the next 30 days

Percentile

8%

Versus all other CVEs

30-day change

Increase +0.04 pp

From 0.14% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard3 products
  • gnutarAll versions (No fix recorded)
  • gnutar-docAll versions (No fix recorded)
  • gnutar-rmtAll versions (No fix recorded)
Redhat3 products
Wolfi3 products
  • gnutarAll versions (No fix recorded)
  • gnutar-docAll versions (No fix recorded)
  • gnutar-rmtAll versions (No fix recorded)
Debian1 product
  • tarAll versions (No fix recorded)
Gnu1 product
Ubuntu1 product
  • tarAll versions (No fix recorded)

6 vendors · 12 products

References

15 links
Show all 15 references