4.4

CVE-2026-18477: Tar: tar: toctou in incremental dumpdir 'x' rename handling allows restore path escape

Modified
AliasesRHSA-2026:49361UBUNTU-CVE-2026-18477DEBIAN-CVE-2026-18477
Published 03-08-2026Last modified 05-11-2026

Vulnerability summary

CVE-2026-18477 is a medium (CVSS 4.4) vulnerability in gnu tar. EPSS estimates a 0.10% chance of exploitation in the next 30 days, higher than 1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4.4, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
4.4/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.10%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 5 · Related 1

Timeline

  1. 03-08-2026
    PublishedVulnerability first disclosed.
  2. 05-11-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.10%

Chance of exploitation in the next 30 days

Percentile

1%

Versus all other CVEs

30-day change

Increase +0.02 pp

From 0.08% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard3 products
  • gnutarAll versions (No fix recorded)
  • gnutar-docAll versions (No fix recorded)
  • gnutar-rmtAll versions (No fix recorded)
Redhat3 products
Wolfi3 products
  • gnutarAll versions (No fix recorded)
  • gnutar-docAll versions (No fix recorded)
  • gnutar-rmtAll versions (No fix recorded)
Debian1 product
  • tarAll versions (No fix recorded)
Gnu1 product
Ubuntu1 product
  • tarAll versions (No fix recorded)

6 vendors · 12 products

References

15 links
Show all 15 references