CVE-2026-18508
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.
- Score
- CVSS 3.1 4.4 Medium
- Status
- Modified - secalert@redhat.com
- Published
- 2026-08-03
- Last modified
- 2026-09-22
- Weaknesses
- CWE-59
Affected products
- Tar (Gnu)
- Discovery (Redhat)
- Enterprise Linux (Redhat)
- Hummingbird (Redhat)
- Openshift (Redhat)
- Openshift Container Platform (Redhat)
- Rhui (Redhat)
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