{"id":"GHSA-m976-87wm-48fm","summary":"uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition","details":"A Time-of-Check to Time-of-Use (TOCTOU) race condition exists in the mv utility of uutils coreutils during cross-device operations. The utility removes the destination path before recreating it through a copy operation. A local attacker with write access to the destination directory can exploit this window to replace the destination with a symbolic link. The subsequent privileged move operation will follow the symlink, allowing the attacker to redirect the write and overwrite an arbitrary target file with contents from the source.","aliases":["CVE-2026-35364"],"modified":"2026-09-10T03:51:02.257714897Z","published":"2026-04-22T18:31:45Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-04-30T17:31:34Z","nvd_published_at":"2026-04-22T17:16:39Z","cwe_ids":["CWE-367"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35364"},{"type":"WEB","url":"https://github.com/uutils/coreutils/issues/10015"},{"type":"PACKAGE","url":"https://github.com/uutils/coreutils"}],"affected":[{"package":{"name":"coreutils","ecosystem":"crates.io","purl":"pkg:cargo/coreutils"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.8.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-m976-87wm-48fm/GHSA-m976-87wm-48fm.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H"}]}