CVE-2026-18477: gnu tar
Vulnerability summary
CVE-2026-18477 is a medium (CVSS 4.4) vulnerability in gnu tar. EPSS estimates a 0.08% chance of exploitation in the next 30 days, higher than 0.1% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 4Timeline
- 03-08-2026PublishedVulnerability first disclosed.
- 22-09-2026Last 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- OSV · Red hatEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
- OSV · UbuntuEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
- OSV · DebianEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
- NVDNIST4.4MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
EPSS trend
Probability
0.08%
Chance of exploitation in the next 30 days
Percentile
0%
Versus all other CVEs
30-day change
0.00 pp
From 0.08% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard3 products
- gnutarAll versions (No fix recorded)
- gnutar-docAll versions (No fix recorded)
- gnutar-rmtAll versions (No fix recorded)
Redhat3 products
- enterprise_linux8.0 | 9.0 | 10.0
- openshift_container_platform4.0
- tar< 0:1.35-9.1.hum1
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
- tar1.35
Ubuntu1 product
- tarAll versions (No fix recorded)
6 vendors · 12 products
References
15 links- images.redhat.comARTICLE