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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.4, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-03 · Modified: 2026-11-05
- Aliases: RHSA-2026:50807, UBUNTU-CVE-2026-18508, DEBIAN-CVE-2026-18508, CGA-482f-jcpj-938x, CGA-f98f-wjrv-6qj4, CGA-g36v-8pg9-6573, CGA-g62q-f8wv-mwjp, CGA-r254-q9vp-5wqf, CGA-wfc3-jh3q-6hph
- Record: https://cvemate.com/vulnerability/CVE-2026-18508 · JSON: https://cvemate.com/vulnerability/CVE-2026-18508/json

## Description

```text
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.
```

## Signals

- CVSS: 4.4 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- EPSS: 0.178%, percentile 7.659%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard gnutar (Chainguard): All versions (No fix recorded)
- chainguard gnutar-doc (Chainguard): All versions (No fix recorded)
- chainguard gnutar-rmt (Chainguard): All versions (No fix recorded)
- wolfi gnutar (Wolfi): All versions (No fix recorded)
- wolfi gnutar-doc (Wolfi): All versions (No fix recorded)
- wolfi gnutar-rmt (Wolfi): All versions (No fix recorded)
- debian tar (Debian): All versions (No fix recorded)
- ubuntu tar (Ubuntu): All versions (No fix recorded)
- gnu tar: 1.35
- redhat enterprise\_linux: 8.0 \| 9.0 \| 10.0
- redhat openshift\_container\_platform: 4.0
- redhat tar (Red Hat): \< 0:1.35-9.2.hum1 \| \< 2:1.35-9.2.hum1

## References

- <https://access.redhat.com/errata/RHSA-2026:50807>
- <https://access.redhat.com/errata/RHSA-2026:61581>
- <https://access.redhat.com/errata/RHSA-2026:61586>
- <https://access.redhat.com/errata/RHSA-2026:61783>
- <https://access.redhat.com/errata/RHSA-2026:66018>
- <https://access.redhat.com/errata/RHSA-2026:70390>
- <https://access.redhat.com/security/cve/CVE-2026-18508>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2509843>
- <https://images.redhat.com/>
- <https://access.redhat.com/security/updates/classification/>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_50807.json>
- <https://www.cve.org/CVERecord?id=CVE-2026-18508>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-18508>
- <https://ubuntu.com/security/CVE-2026-18508>
- <https://security-tracker.debian.org/tracker/CVE-2026-18508>

---

Data as of 2026-12-05T03:12:48.398Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
