CVE-2026-35350
published medium CVSS 3.1 · 6.6uutils coreutils cp Unexpected Privileged Executable Creation with -p
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Uutils | — | coreutilsPlatforms: Linux, Unix, macOS | Affected | Not stated | canonical |
| Ubuntu | resolute | rust-coreutils | Advisory build | 0.10.0-1ubuntu2~26.04.1 | USN-9041-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.6 / 10
- Severity
- medium
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Uutils | coreutils | Default: affected | canonical · cna |
Weaknesses
1- CWE-281 CWE-281: Improper Preservation of Permissions
References
1Provider assertions
2canonical · cna
uutils coreutils cp Unexpected Privileged Executable Creation with -p
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9db0670bbe738ce50c2f094370721de15a5a8299e6ae20f800b2bb9b96830258
- Ingested
- 23 Sep 2026, 09:11:31 UTC
- Source record
- Official CVE record