ADVISORIES

GitHub Advisory Database

GHSA-957r-r8gc-vv3h

uutils coreutils doesn't preserve file ownership during moves across different filesystem boundaries

Moderate No fix available CVE-2026-35351

Details

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.

Affected packages

EcosystemPackageAffected versions
crates.iocoreutils
All versions up to and including 0.8.0

References