Back to the CVE list
CVE-2026-18477

Tar: tar: toctou in incremental dumpdir 'x' rename handling allows restore path escape

CVSS score

4.4

EPSS probability

%0.1

Risk score

0.0

Published

2 mo ago

Official patch verified

Etkilenen ürün ve sürüm için yayımlanan güvenlik güncellemesini uygulayın.

Impact on My Inventory

Only the personal products you have added to your account are assessed; an organisation's inventory does not appear here.

Checking session…

Vulnerability description

DayBreach CVE AI Research

CVE-2026-18477 has vendor, distribution, patch and security-source records on file. We can compare them and prepare an explanation linked to the evidence.

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.

IMPACT: Affected Products and Software

Affected Products

The following products are affected by CVE-2026-18477 vulnerability. Where our threat engine knows the exact affected versions, they are listed below.

IDVENDORPRODUCTACTION
1Red HatRed Hat Enterprise Linux 10 View
2Red HatRed Hat Enterprise Linux 8 View
3Red HatRed Hat Enterprise Linux 9 View
4Red HatRed Hat Discovery 2 View
5Red HatRed Hat Hardened Images View
6Red HatRed Hat Update Infrastructure 5 View
7Red HatRed Hat Update Infrastructure 5 View
8Red HatRed Hat Update Infrastructure 5 View
9Red HatRed Hat Update Infrastructure 5 View
10Red HatRed Hat Update Infrastructure 5 View
11Red HatRed Hat Enterprise Linux 6 View
12Red HatRed Hat Enterprise Linux 7 View
13Red HatRed Hat Hardened Images View
14Red HatRed Hat OpenShift Container Platform 4 View
15gnutar View
16redhatopenshift container platform View
17redhatenterprise linux View
18redhatenterprise linux View
19redhatenterprise linux View
Total affected vendors: 3|Products: 19

RED HAT CSAF/VEX: Product Impact Check

Red Hat has not yet published a CSAF/VEX impact record for this CVE. This does not mean “not affected”.

SCORING: CVSS from Multiple Sources

CVSS Scores

The Common Vulnerability Scoring System is a standardised framework for assessing the severity of vulnerabilities in software and systems. We collect and display CVSS scores from several sources for each CVE.

SCOREVERSIONSEVERITYVECTORSOURCE
4.4CVSS V31MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:NNVD
4.4CVSS 3.x—CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:NMicrosoft MSRC
4.4CVSS V3_1MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:NCVE CNA

Patch and Remediation Guide

Solution & Remediation Advisory

Patch verified

1 doğrulanmış yama veya düzeltilmiş sürüm kanıtı bulundu.

reference

Yama veya çözüm referansı

Open source
Confirm the affected product and version against the source evidence above.
Restrict access to internet-facing services and apply network segmentation.
Apply the official update named in the evidence only to the matching product and version.
Monitor server logs and network endpoints for signs of anomalous execution.

Public exploit and active exploitation status

Verified exploit intelligence

No verified public PoC, exploit repository or Metasploit module has been found for this CVE yet.

Weakness Classification and Attack Patterns (CWE & CAPEC)

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorises the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-18477 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-18477 weaknesses.

Attack Vector and Accessibility

ExposureYerel erişim
PermissionsLow
UserGerekiyor

Official Sources and Advisories

CVSS Vector Radar Chart

4.4 / 10
Attack VectorLocalComplexityHighPrivilegesLowUser Interact.RequiredConfidentialityHighIntegrityHighAvailabilityNone

Vulnerability Scoring Details

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow privileges
User Interaction—
Confidentiality (Gizlilik)High
Integrity (Bütünlük)High
Availability (Erişilebilirlik)None

Yama doğrulandı

1 doğrulanmış yama veya düzeltilmiş sürüm kanıtı bulundu.

Follow the vendor

RH
Red Hat logo
Red Hat
G
gnu logo
gnu
R
redhat logo
redhat

Weakness Type (CWE & CAPEC)

Similar Vulnerabilities

Get this vulnerability through the API

Affected products, version ranges, exploitation status and patch information in a single request, with a free key.

curl -H "x-api-key: $DAYBREACH_API_KEY" \
  "https://api.daybreach.dev/api/v1/intel/cves/CVE-2026-18477"