{"id":"CVE-2026-35355","revision":"7831ff4e0cc34bea8a25613098a62e45","records":[{"revision":"7831ff4e0cc34bea8a25613098a62e45","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-35355","aliases":[],"title":"uutils coreutils install Arbitrary File Overwrite via Symlink TOCTOU Race","description":"The install utility in uutils coreutils is vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition during file installation. The implementation unlinks an existing destination file and then recreates it using a path-based operation without the O_EXCL flag. A local attacker can exploit the window between the unlink and the subsequent creation to swap the path with a symbolic link, allowing them to redirect privileged writes to overwrite arbitrary system files.","state":0,"publishedAt":"2026-04-22T16:08:14.96+00:00","modifiedAt":"2026-04-22T18:01:47.122+00:00","affected":[{"ecosystem":"https://github.com/uutils","name":"coreutils","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Uutils\",\n                    \"product\": \"coreutils\",\n                    \"platforms\": [\n                        \"Linux\",\n                        \"Unix\",\n                        \"macOS\"\n                    ],\n                    \"collectionURL\": \"https://github.com/uutils\",\n                    \"packageName\": \"coreutils\",\n                    \"repo\": \"https://github.com/uutils/coreutils\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"lessThan\": \"0.6.0\",\n                            \"version\": \"0\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H","score":6.3,"severity":"MEDIUM"}],"references":["https://github.com/uutils/coreutils/pull/10067","https://github.com/uutils/coreutils/releases/tag/0.6.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-35355","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-35355","identifiers":["CVE-2026-35355"]},"retained":false,"historicalAffected":[]}],"coverage":[]}