uutils/coreutils · Security
uutils coreutils doesn't preserve file ownership during moves across different filesystem boundaries
- GHSA ID
- GHSA-957r-r8gc-vv3h
- CVE ID
- CVE-2026-35351
- Severity
- medium
- Published
- Updated
- CVSS
- 4.2 · CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
- CVSS v3
- 4.2 · CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
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.
CWEs
- CWE-281 · Improper Preservation of Permissions