UBUNTU-CVE-2026-35360: Race Condition

Published Apr 22, 2026
·
Updated

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 OTRUNC. 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.

Affected Software

4 affected componentsFixes available
ubuntu/rust-coreutils*
ubuntu/rust-coreutils*
ubuntu/rust-coreutils<0.10.0-1ubuntu1
0.10.0-1ubuntu1
ubuntu/rust-coreutils<0.10.0-1ubuntu2~26.04.1
0.10.0-1ubuntu2~26.04.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/rust-coreutils to a version that resolves this vulnerability.

    Fixed in 0.10.0-1ubuntu1
  2. Upgrade

    Upgrade ubuntu/rust-coreutils to a version that resolves this vulnerability.

    Fixed in 0.10.0-1ubuntu2~26.04.1

Event History

Apr 22, 2026
CVE Published
via OSV·05:16 PM
Data Sourced
via OSV·05:16 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who can exploit this issue?

An attacker needs local access and low privileges, and must be able to race the affected touch invocation by creating a file or replacing the target path with a symlink during the check-to-create window.

2

What is the practical impact of a successful race?

A successful exploit can cause touch to truncate an existing file at the target path. This results in permanent data loss; the provided information does not indicate confidentiality impact.

3

What conditions make an invocation exposed?

The vulnerable path is reached when touch determines that a target path is missing and subsequently creates it. Exploitation also requires a timing race, reflected by the high attack complexity rating.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203