Skip to content
Red HatCVE-2026-18477

Red Hat Enterprise Linux: race condition

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

A TOCTOU (Time-of-Check Time-of-Use) vulnerability in GNU tar's incremental dumpdir 'X' rename handling allows a local attacker with write access to a directory being backed up to influence the restore process if the attacker has access to the system where the restore is being performed. During restoration, files or directories may be created, renamed or overwritten outside the intended extraction directory. This could lead to unauthorized file modification or, in some cases, privilege escalation. Exploitation does not require the attacker to modify or craft the archive, and standard backup and restore workflows—including extracting into a newly created directory without using the -P option do not mitigate the issue.

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 389 Directory Server: improper authentication
Medium5.4Aug 3
Red Hat GNU tar.: link following
Medium4.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.