Red HatCVE-2026-18508
Red Hat GNU tar.: link following
No fix yet
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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| Red Hat Enterprise Linux 6 Product | all versions | No fix yet |
| Red Hat Enterprise Linux 7 Product | all versions | No fix yet |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-59
- www.cve.org/CVERecord?id=CVE-2026-18508
- nvd.nist.gov/vuln/detail/CVE-2026-18508
- access.redhat.com/errata/RHSA-2026:50807
- access.redhat.com/errata/RHSA-2026:61581
- access.redhat.com/errata/RHSA-2026:61586
- access.redhat.com/errata/RHSA-2026:61783
- access.redhat.com/errata/RHSA-2026:66018
- access.redhat.com/errata/RHSA-2026:70390
- access.redhat.com/security/cve/CVE-2026-18508
- bugzilla.redhat.com/show_bug.cgi?id=2509843