UBUNTU-CVE-2026-35350: Medium severity ubuntu/rust-coreutils vulnerability

Published Apr 22, 2026
·
Updated

The cp utility in uutils coreutils fails to properly handle setuid and setgid bits when ownership preservation fails. When copying with the -p (preserve) flag, the utility applies the source mode bits even if the chown operation is unsuccessful. This can result in a user-owned copy retaining original privileged bits, creating unexpected privileged executables that violate local security policies. This differs from GNU cp, which clears these bits when ownership cannot be preserved.

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

Does exploitation require local access?

Yes. The vulnerability has a local attack vector and requires low privileges; no user interaction is required.

2

What conditions are needed for the unsafe file state to occur?

A copy must be performed with cp -p, the source must have setuid or setgid mode bits, and the ownership-preservation chown operation must fail. The utility can then apply the privileged source mode bits to the user-owned destination copy.

3

Which systems should be prioritized for review?

Prioritize Ubuntu systems using the rust-coreutils implementation where local users can run cp -p and copy files with privileged mode bits into locations they own. These workflows can create user-owned executables retaining unexpected setuid or setgid bits.

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