Vulnerabilities

CVE-2026-18477

Medium 4.4 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-08-03
Last modified
2026-11-05
Assigned by
secalert@redhat.com
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Scored by
secalert@redhat.com
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Gnu Tar 1.35 Affected
Redhat Enterprise Linux 10.0 Affected
Redhat Enterprise Linux 8.0 Affected
Redhat Enterprise Linux 9.0 Affected
Redhat Openshift Container Platform 4.0 Affected

Weakness type

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities