uutils coreutils mv Utility Ownership Preservation Vulnerability

Vulnerability

A vulnerability exists in the mv utility of uutils coreutils, where file ownership is not preserved during moves across different filesystem boundaries. Instead of maintaining the source metadata, the utility reverts to a copy-and-delete method that assigns the destination file to the caller's UID/GID. This issue disrupts backups and file migrations, causing files moved by privileged users, such as root, to be incorrectly owned by root. Such ownership changes can lead to unauthorized access or information disclosure for the intended file owners.

Impact

The vulnerability causes files moved by the root user across different filesystems to lose their original ownership, resulting in unintended root ownership. This flaw can disrupt administrative scripts, backups, and file migrations that rely on the mv command to preserve metadata, similar to how an in-filesystem rename would.

Reproduction

To reproduce this vulnerability, create a test file and change its ownership to a non-root user. Then, mount a temporary filesystem and use the mv command to move the file to the mounted filesystem. After unmounting, check the file's ownership on the destination, which will incorrectly show root as the owner instead of the original user.

Remediation

Users can update to the latest version of uutils coreutils, where this issue has been addressed. Instructions for downloading the updated version are available on the uutils coreutils GitHub page.

Added: Apr 22, 2026, 6:09 PM
Updated: Apr 22, 2026, 6:09 PM

Vulnerability Rating

Custom Algorithm
spread
8.4
impact
3.8
exploitability
4.2
remediation
0.0
relevance
6.5
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.