Skip to content
Red HatCVE-2026-18508

Red Hat GNU tar.: link following

Medium4.4CVE-2026-18508 · Published Aug 3, 2026 · updated Sep 22, 2026

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.

Red Hat advisory

Affected versions

PackageAffectedFixed in
Red Hat Enterprise Linux 6
Product
all versionsNo fix yet
Red Hat Enterprise Linux 7
Product
all versionsNo fix yet
Details and references

More Red Hat advisories

All Red Hat
Advisory
Red Hat Enterprise Linux: race condition
Medium4.4Aug 3
Red Hat 389 Directory Server: improper authentication
Medium5.4Aug 3
Red Hat SSSD: out-of-bounds read
Medium5.5Aug 3
Red Hat GIMP: stack buffer overflow
Medium5.5Aug 3
Red Hat GIMP. A remote attacker: out-of-bounds write
Medium5.5Aug 3
Red Hat user creation: information disclosure
Medium6.6Aug 2

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.