CVE-2026-18508
Fixed in a distro release EPSS <1%CVSS 4.4
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.
Products: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat Discovery 2, Red Hat Hardened Images, Red Hat Update Infrastructure 5, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat OpenShift Container Platform 4
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 10 | tar | 2:1.35-13.el10_2 |
| AlmaLinux 8 | tar | 2:1.30-13.el8_10 |
| AlmaLinux 9 | tar | 2:1.34-13.el9_8 |
| Chainguard | gnutar | no fix |
| Chainguard | gnutar-doc | no fix |
| Chainguard | gnutar-rmt | no fix |
| Debian 12 | tar | no fix |
| Debian 13 | tar | no fix |
| Debian 14 | tar | no fix |
| Red Hat Enterprise Linux 10.2 | tar | 2:1.35-13.el10_2 |
| Red Hat Enterprise Linux 10.2 | tar-debuginfo | 2:1.35-13.el10_2 |
| Red Hat Enterprise Linux 10.2 | tar-debugsource | 2:1.35-13.el10_2 |
| Red Hat Enterprise Linux 8 | tar | 2:1.30-13.el8_10 |
| Red Hat Enterprise Linux 8 | tar-debuginfo | 2:1.30-13.el8_10 |
| Red Hat Enterprise Linux 8 | tar-debugsource | 2:1.30-13.el8_10 |
| Red Hat Enterprise Linux 9 | tar | 2:1.34-13.el9_8 |
| Red Hat Enterprise Linux 9 | tar-debuginfo | 2:1.34-13.el9_8 |
| Red Hat Enterprise Linux 9 | tar-debugsource | 2:1.34-13.el9_8 |
| Red Hat hummingbird 1 | tar | 0:1.35-9.2.hum1 |
| Rocky Linux 10 | tar | 2:1.35-13.el10_2 |
| Rocky Linux 8 | tar | 2:1.30-13.el8_10 |
| Rocky Linux 9 | tar | 2:1.34-13.el9_8 |
| Ubuntu 22.04 LTS | tar | no fix |
| Ubuntu 24.04 LTS | tar | no fix |
| Ubuntu 26.04 LTS | tar | no fix |
| Ubuntu 26.10 | tar | no fix |
| Ubuntu Pro 14.04 LTS | tar | no fix |
| Ubuntu Pro 16.04 LTS | tar | no fix |
| Ubuntu Pro 18.04 LTS | tar | no fix |
| Ubuntu Pro 20.04 LTS | tar | no fix |
| Wolfi | gnutar | no fix |
| Wolfi | gnutar-doc | no fix |
| Wolfi | gnutar-rmt | no fix |