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.
Fix
Nothing published yet: no patch, vendor advisory or mitigation reference on NVD, no vendor advisory in the News for this CVE, not in CISA's KEV, no fixed package version. BaselineWatch does not guess at one.
Change history 1
- First seenCVSS 4.4 · red hatNVD modified 2026-10-30 18:49
Affected (CPE criteria) 0
NVD has not attached CPE configurations yet.
References 8
- https://access.redhat.com/errata/RHSA-2026:49361 vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:61581 vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:61586 vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:61783 vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:66018 vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:70390 vendor-advisory, x_refsource_redhat
- https://access.redhat.com/security/cve/CVE-2026-18477 vdb-entry, x_refsource_redhat
- https://bugzilla.redhat.com/show_bug.cgi?id=2509735 issue-tracking, x_refsource_redhat