{"id":"CVE-2026-35356","summary":"uutils coreutils install Arbitrary File Overwrite with -D via Path Component Symlink Race","details":"A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the install utility of uutils coreutils when using the -D flag. The command creates parent directories and subsequently performs a second path resolution to create the target file, neither of which is anchored to a directory file descriptor. An attacker with concurrent write access can replace a path component with a symbolic link between these operations, redirecting the privileged write to an arbitrary file system location.","aliases":["GHSA-gwm6-q8ch-hcfr"],"modified":"2026-07-08T08:12:58.857913403Z","published":"2026-04-22T16:08:17.812Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35356.json","cna_assigner":"canonical","cwe_ids":["CWE-367"]},"references":[{"type":"WEB","url":"https://github.com/uutils"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35356.json"},{"type":"ADVISORY","url":"https://github.com/uutils/coreutils/releases/tag/0.7.0"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35356"},{"type":"FIX","url":"https://github.com/uutils/coreutils/pull/10140"},{"type":"PACKAGE","url":"https://github.com/uutils/coreutils"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/uutils/coreutils","events":[{"introduced":"0"},{"fixed":"995c9e04a6cc34a3a95b23a26fa59ae87e7744bd"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.7.0"}]}}],"versions":["0.6.0","latest-commit","0.5.0","0.4.0","0.3.0","0.2.2","0.2.0","0.1.0","0.0.30-delete","0.0.30","0.0.29","0.0.28","0.0.27","0.0.26","0.0.25","0.0.24","0.0.23","0.0.22","0.0.21","0.0.20","0.0.19","0.0.18","0.0.17","0.0.16","0.0.15","0.0.14","0.0.13","0.0.12","0.0.9","0.0.8","0.0.7","0.0.6","0.0.5","0.0.3","0.0.2","0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-35356.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H"}]}