CVE-2026-18477
gnu tar
Patch priority
RegularFix with the next regular update.
- CVSS
- 4.4
- Severity
- 4.4
- EPSS
- 0.1 %
- Percentile
- 1
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run gnu tar. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- An attacker already needs access to the device (or gets you to open a file).
- The attacker must already be logged in – this lowers the risk.
- It only works if someone plays along – e.g. opens a link or a file.
What to do?
- Include it in your next regular update.
- The vendor’s advisories (linked below) name the fixed version.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDA 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.
- Vendor / product
- gnu tar
- Published
- 03.08.2026
- Modified
- 05.11.2026
- CWE
- CWE-367
- Status
- Modified
CVSS v3.1 · CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Vendor updates
8- SUSE: SUSE-SU-2026:5160-1 – Security update for tar 10.11.2026 · MEDIUM · Patch day
- Red Hat: RHSA-2026:70390 – RHSA-2026:70390 tar security update 22.09.2026 · Patch day
- Red Hat: RHSA-2026:66018 – RHSA-2026:66018 registry.redhat.io/rhui5/cds-kubernetes-rhel9@sha256:7840142734dad76221aa6846ab6e8aacc913a8017e4c5c956d574 … 09.09.2026 · Patch day
- Red Hat: RHSA-2026:61586 – RHSA-2026:61586 tar security update 01.09.2026 · Patch day
- Red Hat: RHSA-2026:61783 – RHSA-2026:61783 registry.redhat.io/discovery/discovery-server-rhel9@sha256:5efae8059c9c15454abac947b8482412686d60aaf5c1045 … 31.08.2026 · Patch day
- Red Hat: RHSA-2026:61581 – RHSA-2026:61581 tar security update 31.08.2026 · Patch day
- Microsoft: Mariner 07.08.2026 · Medium · Patch day
- Red Hat: RHSA-2026:49361 – RHSA-2026:49361 tar-2:1.35-9.1.hum1@aarch64 security update 01.08.2026 · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.