CVE-2026-35350 — Vulnerability in coreutils — CVE Details
uutils coreutils doesn't properly handle setuid and setgid bits when ownership preservation fails
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.14%). Schedule for your next planned update.
Does your project use an affected coreutils version?
Paste your Cargo.lock to check it for CVE-2026-35350 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published April 22, 2026 (219 days ago).
- Last revised September 10, 2026 — 140 days after initial publication.
Affected Packages (1)
Affects 1 ecosystem: crates.io (1).
| Package | Fixed In |
|---|---|
| coreutils crates.io · Affected: All versions | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-281
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.6 score means for each attack dimension.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
References
Frequently Asked Questions
- What is CVE-2026-35350?
- uutils coreutils doesn't properly handle setuid and setgid bits when ownership preservation fails. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.6/10).
- How do I check if my project is affected by CVE-2026-35350?
- CVE-2026-35350 affects coreutils. It has a 0.1% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-35350 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is a below-median EPSS score — only 1.6% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-35352HIGH
uutils coreutils has a Time-of-Check to Time-of-Use (TOCTOU) race condition
- CVE-2026-35368HIGH
uutils coreutils has an Untrusted Search Path
- CVE-2026-35374MEDIUM
uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition
- CVE-2026-115906MEDIUM
zip: AES Entry HMAC Authentication Bypass on Premature EOF
- CVE-2026-35374MEDIUM
split: TOCTOU output-open allows truncating a swapped file
- CVE-2026-35364MEDIUM
uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition
- CVE-2026-35360MEDIUM
uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition