Skip to content
VulniPulse
Medium 2 vendors · 2 advisories

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

CVE-2026-18477 key facts

CISA KEV
Not listed (catalogue checked )
Highest advisory rating
Medium
CVSS base score
4.4 (NetApp), 4.4 (Red Hat)
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N · base score 4.4, scored by redhatAttack vector: local. Attack complexity: high. Privileges required: low. User interaction: required. Scope: unchanged. Confidentiality impact: none. Integrity impact: high. Availability impact: none.
Weakness
  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
EPSS
0.10% chance of exploitation in the next 30 days (1st percentile). FIRST EPSS, .
CISA SSVC
Exploitation: none observed. Automatable: no. Technical impact: partial. CISA, .
Fixed releases
  • Red Hat: tar-2:1.35-13.el10_2, tar-2:1.30-13.el8_10, tar-2:1.34-13.el9_8, discovery/discovery-server-rhel9:1788205779, tar-main-1.35-9.1.hum1, rhui5/cds-kubernetes-rhel9:1788880445 and 10 more in the advisory
Vendor advisories
2 from NetApp, Red Hat
Assigned by
redhat (CNA)
CVE record published
Listed by VulniPulse
Record changed

Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-18477; each belongs to its advisory, not to every product listed. How records are collected and checked.

Am I affected by CVE-2026-18477?

You are affected if you run NetApp HCI Baseboard Management Controller (BMC) - H610S at one of the versions below. No fixed version listed by the vendor yet.

AffectedFixed in
NetApp: 1.35No fixed version listed by the vendor yet

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.

Text from the CVE.org record (redhat).

How do I fix CVE-2026-18477?

Upgrade to a fixed release named by the vendor:

  • Red Hat: tar-2:1.35-13.el10_2, tar-2:1.30-13.el8_10, tar-2:1.34-13.el9_8, discovery/discovery-server-rhel9:1788205779, tar-main-1.35-9.1.hum1, rhui5/cds-kubernetes-rhel9:1788880445
  • NetApp HCI Baseboard Management Controller (BMC) - H610S has no planned fix; migrate to a supported release or product and consult NetApp's end-of-support notice. (NetApp)
  • Do not perform incremental restores (-G/-g) from untrusted archives. Avoid restoring incremental backups on systems where untrusted users have shell access,​ perform restoration only on systems inaccessible to users. (Red Hat)
  • Workaround: Do not perform incremental restores (-G/-g) from untrusted archives. Avoid restoring incremental backups on systems where untrusted users have shell access,​ perform restoration only on systems inaccessible to users. (CVE.org record)

Vendor advisories for CVE-2026-18477

NetApp

1 advisory
  • Advisory severityMedium4.4

    Medium [CVE-2026-18477] GNU Tar Vulnerability in NetApp Products

    NTAP-20261021-0014Source published Source updated

    GNU tar versions through 1.35 are susceptible to a vulnerability which when successfully exploited could lead to addition or modification of data. Successful exploitation of this vulnerability could lead to addition or modification of data. Affected products: NetApp HCI Baseboard Management Controller (BMC) - H610S. NetApp reports that one or more additional products remain under investigation; review the canonical advisory for current status. NetApp states there is no workaround available at this time.

    Affected products in this advisory
    • NetApp HCI Baseboard Management Controller (BMC) - H610S
    Source-reported affected versions
    • 1.35
    Source-reported fixed versions
    No fixed-version detail extracted. This does not mean no fix exists.
    Mitigation guidance
    • NetApp HCI Baseboard Management Controller (BMC) - H610S has no planned fix; migrate to a supported release or product and consult NetApp's end-of-support notice.

Red Hat

1 advisory
  • Advisory severityMedium4.4

    Medium [CVE-2026-18477] TOCTOU in incremental dumpdir 'X' rename handling allows restore path escape

    CVE-2026-18477Source published Source updated

    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. This issue affects GNU tar incremental backup and restore (-g/-G). A…

    Affected products in this advisory
    • Red Hat Enterprise Linux 10
    • Red Hat Enterprise Linux 8
    • Red Hat Enterprise Linux 9
    • Red Hat Discovery 2

    7 more entries in the full advisory.

    Source-reported affected versions
    Affected-version details not available in this record.
    Source-reported fixed versions
    • tar-2:1.35-13.el10_2
    • tar-2:1.30-13.el8_10
    • tar-2:1.34-13.el9_8
    • discovery/discovery-server-rhel9:1788205779

    12 more entries in the full advisory.

    Mitigation guidance
    • Do not perform incremental restores (-G/-g) from untrusted archives. Avoid restoring incremental backups on systems where untrusted users have shell access,​ perform restoration only on systems inaccessible to users.

References

Timeline

  1. CVE record published
  2. First vendor advisory listed by VulniPulse
  3. CVE record last updated

All NetApp advisories

Get an email when NetApp publishes the next one.

See NetApp's last 90 days first. Live alerts for one product are free for life; every vendor is US$5 a month with Pro (first month US$1).

Alert me about NetApp