Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-18477: Time-of-check Time-of-use (TOCTOU) Race Condition in Red Hat Red Hat Enterprise Linux 10

0
Medium
VulnerabilityCVE-2026-18477cvecve-2026-18477
Published: 08/03/2026 (08/03/2026, 15:34:36 UTC)
Source: CVE Database V5
Vendor/Project: Red Hat
Product: Red Hat Enterprise Linux 10

Description

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.

CVSS v3.1

Score 4.4medium

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/03/2026, 16:36:24 UTC

Technical Analysis

This vulnerability arises from a TOCTOU race condition in GNU tar's handling of incremental backups and restores, specifically in the dumpdir 'X' rename process. A local attacker who can write to the directory being backed up and has access to the restore system can cause the restore operation to escape the intended extraction directory, creating, renaming, or overwriting files or directories outside it. This can lead to unauthorized file modifications or privilege escalation. The attacker does not need to craft or alter the archive, and restoring into a new directory without the -P option does not prevent exploitation. Red Hat is assessing the impact for the tar package in supported products. No official fix or patch has been confirmed yet. The vendor advisory recommends avoiding restoration of incremental backups on systems accessible to untrusted users who could have modified the backed-up data.

Potential Impact

The vulnerability allows a local attacker with write access to backed-up directories and access to the restore system to cause files or directories to be created, renamed, or overwritten outside the intended extraction directory during restore. This can result in unauthorized modification of files and, in some cases, privilege escalation. The integrity of the system can be compromised without requiring the attacker to modify the backup archive itself. Confidentiality and availability impacts are not indicated.

Mitigation Recommendations

Red Hat advises avoiding restoring incremental backups on systems where untrusted users have shell access, especially if they could have modified or controlled any of the backed-up data. Restoration of backups containing user-controlled content should only be performed on systems inaccessible to those users. No official patch or fix is currently confirmed; check the Red Hat advisory for updates. Standard backup and restore workflows, including extracting into a new directory without the -P option, do not mitigate this issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
redhat
Date Reserved
2026-07-31T10:48:40.556Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-18477","vendor":"Red Hat"}]

Threat ID: 6a70bf62bf32cb7a34daf14a

Added to database: 08/03/2026, 16:18:42 UTC

Last enriched: 08/03/2026, 16:36:24 UTC

Last updated: 08/03/2026, 19:32:12 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses