Bug 2509735 (CVE-2026-18477) - CVE-2026-18477 tar: tar: TOCTOU in incremental dumpdir 'X' rename handling allows restore path escape
Summary: CVE-2026-18477 tar: tar: TOCTOU in incremental dumpdir 'X' rename handling al...
Keywords:
Status: NEW
Alias: CVE-2026-18477
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2509846
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-31 10:57 UTC by OSIDB Bzimport
Modified: 2026-09-22 18:38 UTC (History)
17 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2026:62582 0 None None None 2026-09-02 10:51:44 UTC
Red Hat Product Errata RHBA-2026:64821 0 None None None 2026-09-08 03:07:38 UTC
Red Hat Product Errata RHBA-2026:66386 0 None None None 2026-09-10 15:25:50 UTC
Red Hat Product Errata RHBA-2026:66477 0 None None None 2026-09-10 17:40:56 UTC
Red Hat Product Errata RHSA-2026:61581 0 None None None 2026-08-31 14:06:12 UTC
Red Hat Product Errata RHSA-2026:61586 0 None None None 2026-08-31 14:20:04 UTC
Red Hat Product Errata RHSA-2026:70390 0 None None None 2026-09-22 18:38:52 UTC

Description OSIDB Bzimport 2026-07-31 10:57:51 UTC
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 4 errata-xmlrpc 2026-08-31 14:06:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:61581 https://access.redhat.com/errata/RHSA-2026:61581

Comment 5 errata-xmlrpc 2026-08-31 14:20:02 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:61586 https://access.redhat.com/errata/RHSA-2026:61586

Comment 6 Jon Orris 2026-09-22 18:38:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:70390 https://access.redhat.com/errata/RHSA-2026:70390


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