CVE-2026-18477: Red Hat TOCTOU in incremental dumpdir 'X' rename handling allows restore path escape
This Red Hat advisory covers CVE-2026-18477 in Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8 and Red Hat Enterprise Linux 9.
Am I affected by CVE-2026-18477?
The Red Hat advisory lists no affected version range that VulniPulse could read. Check it for Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9.
Fixed releases listed by the vendor: tar-2:1.35-13.el10_2, tar-2:1.30-13.el8_10, tar-2:1.34-13.el9_8, discovery/discovery-server-rhel9:1788205779, tar-main-1.35-9.1.hum1, rhui5/cds-kubernetes-rhel9:1788880445, rhui5/cds-rhel9:1788880464, rhui5/haproxy-rhel9:1788880456, rhui5/installer-rhel9:1788765051, rhui5/rhua-rhel9:1788880581, RHSA-2026:61586, RHSA-2026:70390, RHSA-2026:61581, RHSA-2026:61783, RHSA-2026:49361, RHSA-2026:66018
Official advisory · high-confidence parse· fetched ·verify at source
Key facts
- Vendor rating
- Medium, CVSS 4.4
- CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N· base score 4.4, scored by redhatAttack vector: local. Attack complexity: high. Privileges required: low. User interaction: required. Scope: unchanged. Confidentiality impact: none. Integrity impact: high. Availability impact: none.- Weakness
- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
- EPSS
- 0.10% chance of exploitation in the next 30 days (1st percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: partial. CISA, .
- CISA KEV
- Not listed (catalogue checked )
- Source published
- Source revised
- Listed by VulniPulse
- Record changed
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Affected products & platforms
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. This issue affects GNU tar incremental backup and restore (-g/-G).
A local attacker who can write to content included in an incremental backup, and who can also access the system where that backup is later restored, may cause the restore to create, rename, or overwrite paths outside the intended extraction directory via a TOCTOU race in dumpdir 'X' handling.
Red Hat is assessing impact for the tar package in supported products. Red Hat severity: Moderate — CVSS 4.4 (CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N).
Weakness: CWE-367.
Text from the source record.
How to fix CVE-2026-18477
Upgrade to a fixed release named by Red Hat:
- tar-2:1.35-13.el10_2
- tar-2:1.30-13.el8_10
- tar-2:1.34-13.el9_8
- discovery/discovery-server-rhel9:1788205779
- tar-main-1.35-9.1.hum1
- rhui5/cds-kubernetes-rhel9:1788880445
- rhui5/cds-rhel9:1788880464
- rhui5/haproxy-rhel9:1788880456
- rhui5/installer-rhel9:1788765051
- rhui5/rhua-rhel9:1788880581
- RHSA-2026:61586
- RHSA-2026:70390
- RHSA-2026:61581
- RHSA-2026:61783
- RHSA-2026:49361
- RHSA-2026:66018
Vendor guidance
- Do not perform incremental restores (-G/-g) from untrusted archives. Avoid restoring incremental backups on systems where untrusted users have shell access, perform restoration only on systems inaccessible to users.
Support dates for the fixed release lines
- Red Hat Enterprise Linux 9: support ends
CVE-2026-18477 in other vendors' advisories
- NetApp: NTAP-20261021-0014, medium severity
CVE-2026-18477 questions
Is CVE-2026-18477 being exploited?
CISA does not list it in its Known Exploited Vulnerabilities catalog (checked ), and the Red Hat advisory does not report exploitation. That is not proof it is unexploited.
How do I fix CVE-2026-18477?
Upgrade to a fixed release Red Hat lists for your version: tar-2:1.35-13.el10_2, tar-2:1.30-13.el8_10, tar-2:1.34-13.el9_8, discovery/discovery-server-rhel9:1788205779 and 12 more. The advisory's own guidance is above.
How likely is CVE-2026-18477 to be exploited?
FIRST's EPSS model gives it a 0.10% chance of exploitation in the next 30 days (1st percentile among scored CVEs, model date ). It is a forecast, not a report of attacks.
How serious is CVE-2026-18477?
Red Hat rates it medium, CVSS 4.4 out of 10.
More Red Hat Linux advisories
CVE-2026-97229Oct 13, 2026integer overflow issue in CI/CD regular expression compilerCVE-2026-109619Oct 21, 2026fatal error handling retains stale request state leading to use-after-freeCVE-2026-109618Oct 21, 2026OOM bailout during request parsing leads to memory corruption and RCECVE-2026-90436Nov 6, 2026Remote code execution via insecure deserialization of SOAP fault messagesCVE-2026-125350Nov 10, 2026Use after free in XMLCVE-2026-114713Nov 8, 2026Command injection via unescaped message tag
Get an email when Red Hat RHEL & SELinux publishes the next one.
See Red Hat RHEL & SELinux's last 90 days first. Live alerts for one product are free for life; every vendor is US$5 a month with Pro (first month US$1).