CVE-2026-18508Tar: tar: --one-top-level hardlink targets not confined to top-level directory enabling arbitrary file overwrite
Updated under an hour ago ()
Does this affect you?
It affects Red Hat Enterprise Linux 10 and 6 other products. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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
- 4.4 MEDIUM (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- Weakness (CWE)
- CWE-59
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- redhat
- NVD analysis
- Modified
- Record last updated
- Sep 22, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Red Hat Red Hat Enterprise Linux 10 redhat:enterprise_linux | from 2:1.35-13.el10_2 not affected | CNA record |
Red Hat Red Hat Discovery 2 redhat:discovery | from 1788205779 not affected | CNA record |
Red Hat Red Hat Hardened Images redhat:hummingbird | from 1.35-9.2.hum1 not affected | CNA record |
Red Hat Red Hat Update Infrastructure 5 redhat:rhui | from 1788880445 not affected | CNA record |
Red Hat Red Hat OpenShift Container Platform 4 redhat:openshift | 4 | CNA record |
gnu tar gnu:tar | 1.35 | NVD |
redhat openshift_container_platform redhat:openshift_container_platform | 4.0 | NVD |
redhat enterprise_linux redhat:enterprise_linux | 8.0; 9.0; 10.0 | NVD |
References
- https://access.redhat.com/errata/RHSA-2026:50807vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:61581vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:61586vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:61783vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:66018vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:70390vendor-advisory, x-refsource-redhat
- https://access.redhat.com/security/cve/CVE-2026-18508vdb-entry, x-refsource-redhat, vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2509843issue-tracking, x-refsource-redhat, vendor-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.