Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. uu_mv
  4. ›
  5. CVE-2026-35365

CVE-2026-35365: mv: symlinks expanded during cross-device move (resource exhaustion / data duplication)

July 6, 2026

When moving directories across filesystems, uutils mv dereferences symlinks inside the tree, copying their targets as real files/dirs instead of preserving the symlinks. GNU preserves symlinks by default. E.g. a etc_link -> /etc inside the source becomes a full copy of /etc at the destination.

Impact: (1) resource exhaustion — a small tree can expand into a huge copy (time/disk DoS); (2) unintended duplication of sensitive paths referenced by symlink; (3) symlink-loop amplification causing deep recursion. Recommendation: in cross-device fallback, detect symlinks via symlink_metadata() and recreate with read_link()/symlink(); add loop detection.

Remediation: Acknowledged by Canonical; fixed in commit 9654e4ab.


Reported by Zellic in the uutils coreutils Program Security Assessment (prepared for Canonical, Jan 20 2026), audited commit 3a07ffc5a9bd4c283e75afa548ba1f1957bad242. Finding 3.63. Credit: Zellic.

References

  • github.com/advisories/GHSA-h444-6j9x-p8vh
  • github.com/uutils/coreutils/commit/9654e4abaf24449ef2279e9a16963edb5c8b8fef
  • github.com/uutils/coreutils/pull/10546
  • github.com/uutils/coreutils/releases/tag/0.7.0
  • github.com/uutils/coreutils/security/advisories/GHSA-h444-6j9x-p8vh
  • nvd.nist.gov/vuln/detail/CVE-2026-35365

Code Behaviors & Features

Detect and mitigate CVE-2026-35365 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.7.0

Fixed versions

  • 0.7.0

Solution

Upgrade to version 0.7.0 or above.

Impact 6.6 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Source file

cargo/uu_mv/CVE-2026-35365.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 13 Jul 2026 00:19:22 +0000.