CVE-2026-18477

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:gnu:tar:1.35:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*

History

22 Sep 2026, 22:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:70390 -

10 Sep 2026, 18:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:66018 -

01 Sep 2026, 15:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:61586 -

01 Sep 2026, 03:16

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:61783 -

31 Aug 2026, 21:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:61581 -

13 Aug 2026, 16:09

Type Values Removed Values Added
First Time Gnu tar
Redhat
Redhat enterprise Linux
Gnu
Redhat openshift Container Platform
CPE cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:a:gnu:tar:1.35:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
References () https://access.redhat.com/errata/RHSA-2026:49361 - () https://access.redhat.com/errata/RHSA-2026:49361 - Vendor Advisory
References () https://access.redhat.com/security/cve/CVE-2026-18477 - () https://access.redhat.com/security/cve/CVE-2026-18477 - Vendor Advisory
References () https://bugzilla.redhat.com/show_bug.cgi?id=2509735 - () https://bugzilla.redhat.com/show_bug.cgi?id=2509735 - Issue Tracking, Vendor Advisory

05 Aug 2026, 08:16

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:49361 -

03 Aug 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-08-03 17:16

Updated : 2026-11-05 20:17


NVD link : CVE-2026-18477

Mitre link : CVE-2026-18477

CVE.ORG link : CVE-2026-18477


JSON object : View

Products Affected

redhat

  • enterprise_linux
  • openshift_container_platform

gnu

  • tar
CWE
CWE-367

Time-of-check Time-of-use (TOCTOU) Race Condition