CVE-2026-18508
published medium CVSS 3.1 · 4.4Tar: tar: --one-top-level hardlink targets not confined to top-level directory enabling arbitrary file overwrite
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 10 | tar2:1.35-13.el10_2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 8 | tar2:1.30-13.el8_10 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 9 | tar2:1.34-13.el9_8 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | discovery/discovery-server-rhel9Red Hat Discovery 2 · 1788205779 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | tar | Advisory build | 2:1.35-13.el10_2 | ALSA-2026:61586 |
| Oracle Linux | 10 | taraarch64 | Advisory build | 2:1.35-13.el10_2 | ELSA-2026-61586-0 |
Show 112 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | tar-mainRed Hat Hardened Images · 1.35-9.2.hum1 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhui5/cds-kubernetes-rhel9Red Hat Update Infrastructure 5 · 1788880445 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhui5/cds-rhel9Red Hat Update Infrastructure 5 · 1788880464 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhui5/haproxy-rhel9Red Hat Update Infrastructure 5 · 1788880456 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhui5/installer-rhel9Red Hat Update Infrastructure 5 · 1788765051 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhui5/rhua-rhel9Red Hat Update Infrastructure 5 · 1788880581 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7 | tar | Unknown | Not stated | redhat |
| Red Hat | — | aardvark-dnsRed Hat Hardened Images | Unaffected | Not required | redhat |
| Red Hat | — | chunkahRed Hat Hardened Images | Unaffected | Not required | redhat |
| Red Hat | — | grafana12.4Red Hat Hardened Images | Unaffected | Not required | redhat |
| Red Hat | — | grafana13.1Red Hat Hardened Images | Unaffected | Not required | redhat |
| Red Hat | — | netavarkRed Hat Hardened Images | Unaffected | Not required | redhat |
| Red Hat | — | nodejs26Red Hat Hardened Images | Unaffected | Not required | redhat |
| Red Hat | — | python-cryptographyRed Hat Hardened Images | Unaffected | Not required | redhat |
| Red Hat | — | rustRed Hat Hardened Images | Unaffected | Not required | redhat |
| Red Hat | — | rust-rpm-sequoiaRed Hat Hardened Images | Unaffected | Not required | redhat |
| Red Hat | — | yarnpkgRed Hat Hardened Images | Unaffected | Not required | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-8Red Hat OpenShift Container Platform 4 | Affected | Not stated | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-9Red Hat OpenShift Container Platform 4 | Affected | Not stated | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-9Red Hat OpenShift Container Platform 5 | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | RHEL-10 | taraarch64 | Advisory build | 2:1.35-13.el10_2 | RHSA-2026:61586 |
| SUSE / openSUSE | SLE-15-SP7 | taraarch64 | Advisory build | 1.34-150000.3.45.1 | SUSE-SU-2026:5160-1 |
| Rocky Linux | 10 | taraarch64 | Listed in advisory | Not stated | RLSA-2026:61586 |
| AlmaLinux | 8 | tar | Advisory build | 2:1.30-13.el8_10 | ALSA-2026:70390 |
| AlmaLinux | 9 | tar | Advisory build | 2:1.34-13.el9_8 | ALSA-2026:61581 |
| Oracle Linux | 10 | tarx86_64 | Advisory build | 2:1.35-13.el10_2 | ELSA-2026-61586-0 |
| Oracle Linux | 8 | taraarch64 | Advisory build | 2:1.30-13.el8_10 | ELSA-2026-70390 |
| Oracle Linux | 8 | tarx86_64 | Advisory build | 2:1.30-13.el8_10 | ELSA-2026-70390 |
| Oracle Linux | 9 | taraarch64 | Advisory build | 2:1.34-13.el9_8 | ELSA-2026-61581-0 |
| Oracle Linux | 9 | tarx86_64 | Advisory build | 2:1.34-13.el9_8 | ELSA-2026-61581-0 |
| Red Hat Enterprise Linux | RHEL-10 | tarppc64le | Advisory build | 2:1.35-13.el10_2 | RHSA-2026:61586 |
| Red Hat Enterprise Linux | RHEL-10 | tars390x | Advisory build | 2:1.35-13.el10_2 | RHSA-2026:61586 |
| Red Hat Enterprise Linux | RHEL-10 | tarsrc | Advisory build | 2:1.35-13.el10_2 | RHSA-2026:61586 |
| Red Hat Enterprise Linux | RHEL-10 | tarx86_64 | Advisory build | 2:1.35-13.el10_2 | RHSA-2026:61586 |
| Red Hat Enterprise Linux | RHEL-8 | taraarch64 | Advisory build | 2:1.30-13.el8_10 | RHSA-2026:70390 |
| Red Hat Enterprise Linux | RHEL-8 | tarppc64le | Advisory build | 2:1.30-13.el8_10 | RHSA-2026:70390 |
| Red Hat Enterprise Linux | RHEL-8 | tars390x | Advisory build | 2:1.30-13.el8_10 | RHSA-2026:70390 |
| Red Hat Enterprise Linux | RHEL-8 | tarsrc | Advisory build | 2:1.30-13.el8_10 | RHSA-2026:70390 |
| Red Hat Enterprise Linux | RHEL-8 | tarx86_64 | Advisory build | 2:1.30-13.el8_10 | RHSA-2026:70390 |
| Red Hat Enterprise Linux | RHEL-9 | taraarch64 | Advisory build | 2:1.34-13.el9_8 | RHSA-2026:61581 |
| Red Hat Enterprise Linux | RHEL-9 | tarppc64le | Advisory build | 2:1.34-13.el9_8 | RHSA-2026:61581 |
| Red Hat Enterprise Linux | RHEL-9 | tars390x | Advisory build | 2:1.34-13.el9_8 | RHSA-2026:61581 |
| Red Hat Enterprise Linux | RHEL-9 | tarsrc | Advisory build | 2:1.34-13.el9_8 | RHSA-2026:61581 |
| Red Hat Enterprise Linux | RHEL-9 | tarx86_64 | Advisory build | 2:1.34-13.el9_8 | RHSA-2026:61581 |
| SUSE / openSUSE | SLE-15-SP7 | tarppc64le | Advisory build | 1.34-150000.3.45.1 | SUSE-SU-2026:5160-1 |
| SUSE / openSUSE | SLE-15-SP7 | tars390x | Advisory build | 1.34-150000.3.45.1 | SUSE-SU-2026:5160-1 |
| SUSE / openSUSE | SLE-15-SP7 | tarx86_64 | Advisory build | 1.34-150000.3.45.1 | SUSE-SU-2026:5160-1 |
| SUSE / openSUSE | SLE-5 | taraarch64 | Advisory build | 1.34-150000.3.45.1 | SUSE-SU-2026:5160-1 |
| SUSE / openSUSE | SLE-5 | tarppc64le | Advisory build | 1.34-150000.3.45.1 | SUSE-SU-2026:5160-1 |
| SUSE / openSUSE | SLE-5 | tars390x | Advisory build | 1.34-150000.3.45.1 | SUSE-SU-2026:5160-1 |
| SUSE / openSUSE | SLE-5 | tarx86_64 | Advisory build | 1.34-150000.3.45.1 | SUSE-SU-2026:5160-1 |
| Red Hat Enterprise Linux | RHEL-10 | tar-debuginfoaarch64 | Advisory build | 2:1.35-13.el10_2 | RHSA-2026:61586 |
| Red Hat Enterprise Linux | RHEL-10 | tar-debuginfoppc64le | Advisory build | 2:1.35-13.el10_2 | RHSA-2026:61586 |
| Red Hat Enterprise Linux | RHEL-10 | tar-debuginfos390x | Advisory build | 2:1.35-13.el10_2 | RHSA-2026:61586 |
| Red Hat Enterprise Linux | RHEL-10 | tar-debuginfox86_64 | Advisory build | 2:1.35-13.el10_2 | RHSA-2026:61586 |
| Red Hat Enterprise Linux | RHEL-10 | tar-debugsourceaarch64 | Advisory build | 2:1.35-13.el10_2 | RHSA-2026:61586 |
| Red Hat Enterprise Linux | RHEL-10 | tar-debugsourceppc64le | Advisory build | 2:1.35-13.el10_2 | RHSA-2026:61586 |
| Red Hat Enterprise Linux | RHEL-10 | tar-debugsources390x | Advisory build | 2:1.35-13.el10_2 | RHSA-2026:61586 |
| Red Hat Enterprise Linux | RHEL-10 | tar-debugsourcex86_64 | Advisory build | 2:1.35-13.el10_2 | RHSA-2026:61586 |
| Red Hat Enterprise Linux | RHEL-8 | tar-debuginfoaarch64 | Advisory build | 2:1.30-13.el8_10 | RHSA-2026:70390 |
| Red Hat Enterprise Linux | RHEL-8 | tar-debuginfoppc64le | Advisory build | 2:1.30-13.el8_10 | RHSA-2026:70390 |
| Red Hat Enterprise Linux | RHEL-8 | tar-debuginfos390x | Advisory build | 2:1.30-13.el8_10 | RHSA-2026:70390 |
| Red Hat Enterprise Linux | RHEL-8 | tar-debuginfox86_64 | Advisory build | 2:1.30-13.el8_10 | RHSA-2026:70390 |
| Red Hat Enterprise Linux | RHEL-8 | tar-debugsourceaarch64 | Advisory build | 2:1.30-13.el8_10 | RHSA-2026:70390 |
| Red Hat Enterprise Linux | RHEL-8 | tar-debugsourceppc64le | Advisory build | 2:1.30-13.el8_10 | RHSA-2026:70390 |
| Red Hat Enterprise Linux | RHEL-8 | tar-debugsources390x | Advisory build | 2:1.30-13.el8_10 | RHSA-2026:70390 |
| Red Hat Enterprise Linux | RHEL-8 | tar-debugsourcex86_64 | Advisory build | 2:1.30-13.el8_10 | RHSA-2026:70390 |
| Red Hat Enterprise Linux | RHEL-9 | tar-debuginfoaarch64 | Advisory build | 2:1.34-13.el9_8 | RHSA-2026:61581 |
| Red Hat Enterprise Linux | RHEL-9 | tar-debuginfoppc64le | Advisory build | 2:1.34-13.el9_8 | RHSA-2026:61581 |
| Red Hat Enterprise Linux | RHEL-9 | tar-debuginfos390x | Advisory build | 2:1.34-13.el9_8 | RHSA-2026:61581 |
| Red Hat Enterprise Linux | RHEL-9 | tar-debuginfox86_64 | Advisory build | 2:1.34-13.el9_8 | RHSA-2026:61581 |
| Red Hat Enterprise Linux | RHEL-9 | tar-debugsourceaarch64 | Advisory build | 2:1.34-13.el9_8 | RHSA-2026:61581 |
| Red Hat Enterprise Linux | RHEL-9 | tar-debugsourceppc64le | Advisory build | 2:1.34-13.el9_8 | RHSA-2026:61581 |
| Red Hat Enterprise Linux | RHEL-9 | tar-debugsources390x | Advisory build | 2:1.34-13.el9_8 | RHSA-2026:61581 |
| Red Hat Enterprise Linux | RHEL-9 | tar-debugsourcex86_64 | Advisory build | 2:1.34-13.el9_8 | RHSA-2026:61581 |
| SUSE / openSUSE | SLE-15-SP7 | tar-langnoarch | Advisory build | 1.34-150000.3.45.1 | SUSE-SU-2026:5160-1 |
| SUSE / openSUSE | SLE-15-SP7 | tar-rmtaarch64 | Advisory build | 1.34-150000.3.45.1 | SUSE-SU-2026:5160-1 |
| SUSE / openSUSE | SLE-15-SP7 | tar-rmtppc64le | Advisory build | 1.34-150000.3.45.1 | SUSE-SU-2026:5160-1 |
| SUSE / openSUSE | SLE-15-SP7 | tar-rmts390x | Advisory build | 1.34-150000.3.45.1 | SUSE-SU-2026:5160-1 |
| SUSE / openSUSE | SLE-15-SP7 | tar-rmtx86_64 | Advisory build | 1.34-150000.3.45.1 | SUSE-SU-2026:5160-1 |
| Rocky Linux | 10 | tarppc64le | Listed in advisory | Not stated | RLSA-2026:61586 |
| Rocky Linux | 10 | tars390x | Listed in advisory | Not stated | RLSA-2026:61586 |
| Rocky Linux | 10 | tarsrc | Listed in advisory | Not stated | RLSA-2026:61586 |
| Rocky Linux | 10 | tarx86_64 | Listed in advisory | Not stated | RLSA-2026:61586 |
| Rocky Linux | 8 | taraarch64 | Listed in advisory | Not stated | RLSA-2026:70390 |
| Rocky Linux | 8 | tarsrc | Listed in advisory | Not stated | RLSA-2026:70390 |
| Rocky Linux | 8 | tarx86_64 | Listed in advisory | Not stated | RLSA-2026:70390 |
| Rocky Linux | 9 | taraarch64 | Listed in advisory | Not stated | RLSA-2026:61581 |
| Rocky Linux | 9 | tarppc64le | Listed in advisory | Not stated | RLSA-2026:61581 |
| Rocky Linux | 9 | tars390x | Listed in advisory | Not stated | RLSA-2026:61581 |
| Rocky Linux | 9 | tarsrc | Listed in advisory | Not stated | RLSA-2026:61581 |
| Rocky Linux | 9 | tarx86_64 | Listed in advisory | Not stated | RLSA-2026:61581 |
| Rocky Linux | 10 | tar-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2026:61586 |
| Rocky Linux | 10 | tar-debuginfoppc64le | Listed in advisory | Not stated | RLSA-2026:61586 |
| Rocky Linux | 10 | tar-debuginfos390x | Listed in advisory | Not stated | RLSA-2026:61586 |
| Rocky Linux | 10 | tar-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2026:61586 |
| Rocky Linux | 10 | tar-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2026:61586 |
| Rocky Linux | 10 | tar-debugsourceppc64le | Listed in advisory | Not stated | RLSA-2026:61586 |
| Rocky Linux | 10 | tar-debugsources390x | Listed in advisory | Not stated | RLSA-2026:61586 |
| Rocky Linux | 10 | tar-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2026:61586 |
| Rocky Linux | 8 | tar-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2026:70390 |
| Rocky Linux | 8 | tar-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2026:70390 |
| Rocky Linux | 8 | tar-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2026:70390 |
| Rocky Linux | 8 | tar-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2026:70390 |
| Rocky Linux | 9 | tar-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2026:61581 |
| Rocky Linux | 9 | tar-debuginfoppc64le | Listed in advisory | Not stated | RLSA-2026:61581 |
| Rocky Linux | 9 | tar-debuginfos390x | Listed in advisory | Not stated | RLSA-2026:61581 |
| Rocky Linux | 9 | tar-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2026:61581 |
| Rocky Linux | 9 | tar-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2026:61581 |
| Rocky Linux | 9 | tar-debugsourceppc64le | Listed in advisory | Not stated | RLSA-2026:61581 |
| Rocky Linux | 9 | tar-debugsources390x | Listed in advisory | Not stated | RLSA-2026:61581 |
| Rocky Linux | 9 | tar-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2026:61581 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.4 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | 2:1.35-13.el10_2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | 2:1.30-13.el8_10 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 2:1.34-13.el9_8 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Discovery 2 | 1788205779 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Hardened Images | 1.35-9.2.hum1 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Update Infrastructure 5 | 1788880445 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Update Infrastructure 5 | 1788880464 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Update Infrastructure 5 | 1788880456 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Update Infrastructure 5 | 1788765051 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Update Infrastructure 5 | 1788880581 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Hardened Images | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Hardened Images | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Hardened Images | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Hardened Images | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Hardened Images | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Hardened Images | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Hardened Images | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Hardened Images | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Hardened Images | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Hardened Images | Default: unaffected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 5 | Default: affected | redhat · cna |
Weaknesses
1- CWE-59 Improper Link Resolution Before File Access
References
8- RHSA-2026:50807 https://access.redhat.com/errata/RHSA-2026:50807
- RHSA-2026:61581 https://access.redhat.com/errata/RHSA-2026:61581
- RHSA-2026:61586 https://access.redhat.com/errata/RHSA-2026:61586
- RHSA-2026:61783 https://access.redhat.com/errata/RHSA-2026:61783
- RHSA-2026:66018 https://access.redhat.com/errata/RHSA-2026:66018
- RHSA-2026:70390 https://access.redhat.com/errata/RHSA-2026:70390
- https://access.redhat.com/security/cve/CVE-2026-18508
- RHBZ#2509843 https://bugzilla.redhat.com/show_bug.cgi?id=2509843
Provider assertions
2redhat · cna
Tar: tar: --one-top-level hardlink targets not confined to top-level directory enabling arbitrary file overwrite
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 18642a79207ef2c71155ec1120cecd8f71f36089c167abe7596eb59f72d58508
- Ingested
- 07 Nov 2026, 23:41:46 UTC
- Source record
- Official CVE record