cve.bz

CVE-2026-18508 Link Following

4.4 mediumEPSS 0.1%Fix available

Medium (4.4). EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

4.4 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 3rd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-08-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-59 Improper Link Resolution Before File Access (Link Following)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-18508 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-18508?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-18508?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-18508 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 102:1.35-13.el10_2
Red Hat Enterprise Linux 82:1.30-13.el8_10
Red Hat Enterprise Linux 92:1.34-13.el9_8
Red Hat Discovery 21788205779
Red Hat Hardened Images1.35-9.2.hum1
Red Hat Update Infrastructure 51788880445
Red Hat Update Infrastructure 51788880464
Red Hat Update Infrastructure 51788880456
Red Hat Update Infrastructure 51788765051
Red Hat Update Infrastructure 51788880581

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14tarno fix listedDEBIAN-CVE-2026-18508
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 5 moretarno fix listedUBUNTU-CVE-2026-18508
Red Hatenterprise_linux:8::baseostar, tar-debuginfo, tar-debugsource2:1.30-13.el8_10RHSA-2026:70390
Red Hatenterprise_linux:9::baseostar, tar-debuginfo, tar-debugsource2:1.34-13.el9_8RHSA-2026:61581
Red Hatenterprise_linux:10.2tar, tar-debuginfo, tar-debugsource2:1.35-13.el10_2RHSA-2026:61586
Red Hathummingbird:1tar2:1.35-9.2.hum1RHSA-2026:50807
SUSELinux Enterprise Micro 5.4, Linux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP7tar1.34-150000.3.45.1SUSE-SU-2026:5160-1
AlmaLinux8tar2:1.30-13.el8_10ALSA-2026:70390
AlmaLinux9tar2:1.34-13.el9_8ALSA-2026:61581
AlmaLinux10tar2:1.35-13.el10_2ALSA-2026:61586
Rocky Linux8tar2:1.30-13.el8_10RLSA-2026:70390
Rocky Linux9tar2:1.34-13.el9_8RLSA-2026:61581
Rocky Linux10tar2:1.35-13.el10_2RLSA-2026:61586
Azure Linux3tarno fix listedAZL-94599

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat Enterprise Linux is affected. This issue only applies when the --one-top-level option is used to extract an untrusted archive. Default tar extraction without --one-top-level is not impacted by this specific boundary failure. Users should avoid using --one-top-level as the sole confinement mechanism for untrusted archives until fixed packages are available.

Red Hat's mitigation

Do not use --one-top-level as the sole confinement mechanism when extracting untrusted archives. Prefer extracting as an unprivileged user into a freshly created empty directory after changing into that directory (mkdir and cd), avoid extracting as root from sensitive working directories such as /, and follow the GNU tar security guidance for untrusted archives.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10tar-2:1.35-13.el10_2Fixed 2026-09-01RHSA-2026:61586
Red Hat Enterprise Linux 8tar-2:1.30-13.el8_10Fixed 2026-09-22RHSA-2026:70390
Red Hat Enterprise Linux 9tar-2:1.34-13.el9_8Fixed 2026-08-31RHSA-2026:61581
Red Hat Discovery 2discovery/discovery-server-rhel9:1788205779Fixed 2026-08-31RHSA-2026:61783
Red Hat Hardened Imagestar-main-1.35-9.2.hum1Fixed 2026-08-05RHSA-2026:50807
Red Hat Update Infrastructure 5rhui5/cds-kubernetes-rhel9:1788880445Fixed 2026-09-09RHSA-2026:66018
Red Hat Update Infrastructure 5rhui5/cds-rhel9:1788880464Fixed 2026-09-09RHSA-2026:66018
Red Hat Update Infrastructure 5rhui5/haproxy-rhel9:1788880456Fixed 2026-09-09RHSA-2026:66018
Red Hat Update Infrastructure 5rhui5/installer-rhel9:1788765051Fixed 2026-09-09RHSA-2026:66018
Red Hat Update Infrastructure 5rhui5/rhua-rhel9:1788880581Fixed 2026-09-09RHSA-2026:66018
Red Hat Enterprise Linux 6tarOut of support scope
Red Hat Enterprise Linux 7tarOut of support scope
Red Hat Hardened Imagesaardvark-dnsNot affected
Red Hat Hardened ImageschunkahNot affected
Red Hat Hardened Imagesgrafana12.4Not affected
Red Hat Hardened Imagesgrafana13.1Not affected
Red Hat Hardened ImagesnetavarkNot affected
Red Hat Hardened Imagesnodejs26Not affected
Red Hat Hardened Imagespython-cryptographyNot affected
Red Hat Hardened ImagesrustNot affected
5 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-18508.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON