GitHub Advisoryadvisory · crates.io
GHSA-957r-r8gc-vv3h uutils coreutils doesn't preserve file ownership during moves across different filesystem boundaries
MEDIUM
Official page ↗
- Aliases
- CVE-2026-35351
- Ecosystem
- crates.io
- Packages
- coreutils
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
- Weaknesses
- CWE-281
- Reviewed
- 2026-04-29
Affected packages
• crates.io coreutils: <= 0.8.0 (no fix yet)
Description
The mv utility in uutils coreutils fails to preserve file ownership during moves across different filesystem boundaries. The utility falls back to a copy-and-delete routine that creates the destination file using the caller's UID/GID rather than the source's metadata. This flaw breaks backups and migrations, causing files moved by a privileged user (e.g., root) to become root-owned unexpectedly, which can lead to information disclosure or restricted access for the intended owners.
Related
Alias · CVE (1)
- CVE-2026-35351 The mv utility in uutils coreutils fails to preserve file ownership during moves across different filesystem boundaries. vulnerability
Weakness · CWE (1)
- CWE-281 Improper Preservation of Permissions weakness