Loading...
Skip to main content

CVE-2026-35360 — Vulnerability in coreutils — CVE Details

MEDIUM

uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition

Published April 22, 2026Updated September 10, 2026Source: osv

Summary

The touch utility in uutils coreutils is vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition during file creation. When the utility identifies a missing path, it later attempts creation using File::create(), which internally uses O_TRUNC. An attacker can exploit this window to create a file or swap a symlink at the target path, causing touch to truncate an existing file and leading to permanent data loss.

Advisory Timeline

  • First published April 22, 2026 (173 days ago).
  • Last revised September 10, 2026 — 140 days after initial publication.

Affected Packages (1)

Affects 1 ecosystem: crates.io (1).

PackageEcosystemAffectedFixed In
coreutils
crates.io
All versionsRange-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 6.3 score means for each attack dimension.

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H

Frequently Asked Questions

What is CVE-2026-35360?
uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.3/10).
How do I check if my project is affected by CVE-2026-35360?
CVE-2026-35360 affects coreutils. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-35360 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
6.3

Exploitation requires specific conditions or has limited impact. Remediate within weeks.

Also Known As

GHSA-q6m9-xj2w-xmrc

Related CVEs

  • CVE-2026-35352
    HIGH

    uutils coreutils has a Time-of-Check to Time-of-Use (TOCTOU) race condition

  • CVE-2026-35368
    HIGH

    uutils coreutils has an Untrusted Search Path

  • CVE-2026-102821
    MEDIUM

    Russh: Unbounded memory exhaustion via CHANNEL_OPEN flood during a client-stalled rekey

  • CVE-2026-35374
    MEDIUM

    uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition

  • CVE-2026-102820
    MEDIUM

    pageant: Out-of-bounds read / oversized allocation in `pageant` MemoryMap::read via a malicious Pageant agent (Windows)

  • CVE-2026-35364
    MEDIUM

    uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition

  • CVE-2026-35350
    MEDIUM

    uutils coreutils doesn't properly handle setuid and setgid bits when ownership preservation fails

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies