UBUNTU-CVE-2026-35357: Race Condition

Published Apr 22, 2026
·
Updated

The cp utility in uutils coreutils is vulnerable to an information disclosure race condition. Destination files are initially created with umask-derived permissions (e.g., 0644) before being restricted to their final mode (e.g., 0600) later in the process. A local attacker can race to open the file during this window; once obtained, the file descriptor remains valid and readable even after the permissions are tightened, exposing sensitive or private file contents.

Affected Software

3 affected componentsFixes available
ubuntu/rust-coreutils*
ubuntu/rust-coreutils*
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-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 is exposed to this issue?

Systems using the cp utility from Ubuntu's rust-coreutils package are exposed when sensitive content is copied to a destination that is initially created with permissions allowing a local attacker to open it. The attacker must have local access to race the file creation and permission-change window.

2

What does an attacker need to do to exploit it?

The attacker needs local access, low privileges sufficient to monitor and open the destination file, and successful timing during the brief interval before cp restricts the file to its final permissions. No user interaction is required.

3

Does tightening the destination file permissions after copying prevent disclosure?

No. If an attacker opens the destination while it has the initial umask-derived permissions, the obtained file descriptor remains readable after cp changes the file mode, allowing the copied contents to be read.

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