CVE-2026-35365: uutils coreutils symlink expansion in mv during cross-device move

CVE-2026-35365 · Severity: medium · CVSS 6.6 · Published 2026-04-22

The 'mv' utility in uutils coreutils (a Rust-based alternative to standard Linux tools) contains a flaw when moving files between different storage drives or partitions. Instead of moving shortcuts (symbolic links) as they are, it incorrectly follows them and copies the actual data they point to. This can lead to a system running out of disk space, the accidental duplication of sensitive files into insecure locations, or the tool getting stuck in an infinite loop.

Technologies: Uutils Coreutils. Vendors: crates.io, Uutils.

Quick answers

Is CVE-2026-35365 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-35365 being exploited in the wild.
How severe is CVE-2026-35365?
Medium severity, with a CVSS score of 6.6, published 22 April 2026.
Which products and versions are affected?
uu_mv (crates.io) < 0.7.0, SEMVER:introduced=0,fixed=0.7.0.
Is there a fix for CVE-2026-35365?
Yes. uu_mv (crates.io): upgrade to 0.7.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-35365 attacked?
It is attacked with local access, in an operating system.
Am I affected by CVE-2026-35365?
Check whether you run uu_mv (crates.io) or Uutils Coreutils at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • uu_mv (crates.io): upgrade to 0.7.0 or later
    cargo update -p uu_mv

Technical details

A vulnerability exists in the uutils coreutils 'mv' implementation (uu_mv) due to improper link resolution (CWE-59) during cross-filesystem move operations. When a directory tree is moved across device boundaries, the utility dereferences symbolic links and copies the target content as new files/directories instead of recreating the symlink at the destination. A local attacker can exploit this by placing symlinks pointing to large files or sensitive system directories (like /etc) within a directory being moved, causing uncontrolled resource consumption (CWE-400) or unauthorized data duplication. The issue is fixed in version 0.7.0 by using symlink_metadata() to detect links and read_link()/symlink() to preserve them.

Affected products

  • uutils coreutils (uu_mv) < 0.7.0

Identifiers

  • CVE-2026-35365
  • GHSA-h444-6j9x-p8vh

Timeline

  • 2026-01-20: disclosed: Reported by Zellic in security assessment for Canonical
  • 2026-03-05: patched: Fixed in commit 9654e4ab
  • 2026-05-30: advisory: GitHub Advisory published
  • 2026-07-06: other: Advisory reviewed and updated

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.