{"id":"CVE-2026-35365","aliases":["CVE-2026-35365","GHSA-h444-6j9x-p8vh"],"related":[],"kind":"vulnerability","state":"published","title":"uutils coreutils mv Denial of Service and Data Duplication via Improper Symlink Expansion","summary":"The mv utility in uutils coreutils improperly handles directory trees containing symbolic links during moves across filesystem boundaries. Instead of preserving symlinks, the implementation expands them, copying the linked targets as real files or directories at the destination. This can lead to resource exhaustion (disk space or time) if symlinks point to large external directories, unexpected duplication of sensitive data into unintended locations, or infinite recursion and repeated copying in the presence of symlink loops.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The mv utility in uutils coreutils improperly handles directory trees containing symbolic links during moves across filesystem boundaries. Instead of preserving symlinks, the implementation expands them, copying the linked targets as real files or directories at the destination. This can lead to resource exhaustion (disk space or time) if symlinks point to large external directories, unexpected duplication of sensitive data into unintended locations, or infinite recursion and repeated copying in the presence of symlink loops.","source":"cvelist"},{"lang":"en","text":"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.\n\n**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.\n\n**Remediation:** Acknowledged by Canonical; fixed in commit 9654e4ab.\n\n---\n_Reported by Zellic in the *uutils coreutils Program Security Assessment* (prepared for Canonical, Jan 20 2026), audited commit `3a07ffc5a9bd4c283e75afa548ba1f1957bad242`. Finding 3.63. Credit: Zellic._","format":"markdown","source":"ghsa"},{"lang":"es","text":"La utilidad mv en uutils coreutils maneja incorrectamente los árboles de directorios que contienen enlaces simbólicos durante movimientos a través de límites de sistemas de archivos. En lugar de preservar los enlaces simbólicos, la implementación los expande, copiando los destinos enlazados como archivos o directorios reales en el destino. Esto puede llevar al agotamiento de recursos (espacio en disco o tiempo) si los enlaces simbólicos apuntan a directorios externos grandes, a la duplicación inesperada de datos sensibles en ubicaciones no deseadas, o a una recursión infinita y copia repetida en presencia de bucles de enlaces simbólicos.","source":"nvd"}],"published":"2026-04-22T16:08:41.136Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L","score":6.6,"rating":"MEDIUM"},"severities":[{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L","score":6.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L","score":6.6,"rating":"MEDIUM"}],"cwes":["CWE-59","CWE-400"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.7.0","status":"affected"}],"vendor":"Uutils","product":"coreutils","package":"coreutils","repo":"https://github.com/uutils/coreutils","platforms":["Linux","Unix","macOS"],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.7.0"}],"ecosystem":"crates.io","package":"uu_mv","purl":"pkg:cargo/uu_mv","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.7.0"}],"vendor":"uutils","product":"coreutils","cpe":"cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://github.com/uutils/coreutils/pull/10546","tags":["issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/uutils/coreutils/releases/tag/0.7.0","tags":["release-notes","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/uutils/coreutils/security/advisories/GHSA-h444-6j9x-p8vh","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35365","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/uutils/coreutils/commit/9654e4abaf24449ef2279e9a16963edb5c8b8fef","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/uutils/coreutils","tags":["package"],"sources":["ghsa"]}],"credits":["Zellic"],"assigner":"canonical","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-22T17:59:28.819Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-35365","url":"https://www.cve.org/CVERecord?id=CVE-2026-35365","licence":"CVE Terms of Use","modified":"2026-04-22T17:59:34.571Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h444-6j9x-p8vh","url":"https://github.com/advisories/GHSA-h444-6j9x-p8vh","licence":"CC-BY-4.0","modified":"2026-07-06T20:41:30.159Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-35365","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35365","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:19.333Z","epss":{"score":0.00167,"percentile":0.06275,"date":"2026-12-02T12:00:21.000Z"}}