SecurityContext

CVE-2026-18508: GNU tar - Path Traversal

  • Cve: CVE-2026-18508
  • Name: GNU tar - Path Traversal
  • 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.
  • Impact: Attackers can write files outside the intended extraction directory, potentially leading to arbitrary file modification or system compromise.
  • Remediation: Update to the latest version of GNU tar that fixes this issue.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_write, path_traversal
  • Requirements: Attacker needs to provide a crafted archive and have a preexisting symbolic link in the extraction directory
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.4
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
  • Epss score: 0.00141
  • Epss percentile: 0.03403
  • Assignee: [email protected]
  • Published at: 2026-08-03T16:16:28Z
  • Age in days: 113
  • Modified at: 2026-11-05T20:17:52Z
  • References total: 8
  • Products total: 3
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-18508
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-59Improper Link Resolution Before File Access

References

Same in every row:

  • Source: nvd
UrlTags
https://access.redhat.com/errata/RHSA-2026:50807Vendor Advisory
https://access.redhat.com/security/cve/CVE-2026-18508Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2509843Issue Tracking, Vendor Advisory
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

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
gnu:tar= 1.35/v1/products/gnu/tar
redhat:enterprise_linux= 10.0, = 9.0, = 8.0/v1/products/redhat/enterprise_linux
redhat:openshift_container_platform= 4.0/v1/products/redhat/openshift_container_platform

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts