CVE-2026-35350

medium
Published 2026-04-22 · Modified 2026-06-02
CVSS v3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
CVSS v4 NEW
not yet in upstream
VIR risk
5.5

Description

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

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Debian Security Tracker · View original ↗ · DFSG

CVE-2026-35350 NameCVE-2026-35350 DescriptionThe 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…

CVE-2026-35350

NameCVE-2026-35350
DescriptionThe 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1134876

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rust-coreutils (PTS)bookworm0.0.17-2vulnerable
trixie0.0.30-2vulnerable
sid0.9.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
rust-coreutilssource(unstable)0.8.0-11134876

Notes

[trixie] - rust-coreutils <no-dsa> (Minor issue)
[bookworm] - rust-coreutils <no-dsa> (Minor issue)
https://github.com/uutils/coreutils/issues/9750

Home - Debian Security - Source (Git)

Apply commands

text fix
Notes
[trixie] - rust-coreutils <no-dsa> (Minor issue)[bookworm] - rust-coreutils <no-dsa> (Minor issue)https://github.com/uutils/coreutils/issues/9750

OS impact

debian Debian Mixed 3 releases
VersionStatusFixed in
trixie Affected
sid Fixed 0.8.0-1
bookworm Affected

Package impact

EcosystemPackageVulnerableFixed
rust crates.iocoreutils<=0.8.0
rust RUSTcoreutils<= 0.8.0

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.