Bug 2509846 - CVE-2026-18477 tar: tar: TOCTOU in incremental dumpdir 'X' rename handling allows restore path escape [fedora-all]
Summary: CVE-2026-18477 tar: tar: TOCTOU in incremental dumpdir 'X' rename handling al...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: tar
Version: 45
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Pavel Raiskup
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["73dc0bf7-c636-45fb-8d58-0...
Depends On:
Blocks: CVE-2026-18477
TreeView+ depends on / blocked
 
Reported: 2026-07-31 17:26 UTC by Ganesh
Modified: 2026-08-17 15:44 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ganesh 2026-07-31 17:26:34 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Aoife Moloney 2026-08-17 15:44:36 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.


Note You need to log in before you can comment on or make changes to this bug.