Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2026-18477

medium

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 director…

Vendor / product: Gnu — tar

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
4.4
4.4 (CVSS v3.1)
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Severity source: NVD CVSS v3.1 (secalert@redhat.com)
Timeline (UTC)
Published: 2026-08-03 17:16
Modified: 2026-10-30 19:18
NVD status: Modified
Last synced 18 hours ago
Verified against the source API 2026-10-30 19:20 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

gnu / tar 1.35
redhat / openshift_container_platform 4.0
redhat / enterprise_linux 8.0, 9.0, 10.0

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Vendor advisory: https://access.redhat.com/errata/RHSA-2026:49361
Vendor advisory: https://access.redhat.com/security/cve/CVE-2026-18477
Vendor advisory: https://bugzilla.redhat.com/show_bug.cgi?id=2509735

References

Data sources

NVD CVE API 2.0 — fetched 2026-10-30 19:20 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs