{"id":"CVE-2026-35355","state":"PUBLISHED","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.","publishedAt":"2026-04-22T16:08:14.960Z","updatedAt":"2026-04-22T18:01:47.122Z","severity":{"score":6.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H","source":"canonical"},"assigner":"canonical","products":["Uutils coreutils"],"affected":[{"vendor":"Uutils","product":"coreutils","packageName":"coreutils","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.6.0","versionType":"semver"}],"platforms":["Linux","Unix","macOS"],"collectionURL":"https://github.com/uutils","repo":"https://github.com/uutils/coreutils"}],"references":["https://github.com/uutils/coreutils/pull/10067","https://github.com/uutils/coreutils/releases/tag/0.6.0"],"weaknesses":["CWE-367"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/35xxx/CVE-2026-35355.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-35355","state":"PUBLISHED","datePublished":"2026-04-22T16:08:14.960Z","dateUpdated":"2026-04-22T18:01:47.122Z","assignerShortName":"canonical","assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateReserved":"2026-04-02T12:58:56.087Z"},"containers":{"cna":{"title":"uutils coreutils install Arbitrary File Overwrite via Symlink TOCTOU Race","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Uutils","product":"coreutils","packageName":"coreutils","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.6.0","versionType":"semver"}],"platforms":["Linux","Unix","macOS"],"collectionURL":"https://github.com/uutils","repo":"https://github.com/uutils/coreutils"}],"references":[{"url":"https://github.com/uutils/coreutils/pull/10067","tags":["issue-tracking","patch"]},{"url":"https://github.com/uutils/coreutils/releases/tag/0.6.0","tags":["vendor-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseSeverity":"MEDIUM","baseScore":6.3,"vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-367","lang":"en","description":"CWE-367: Time-of-Check Time-of-Use (TOCTOU) Race Condition","type":"CWE"}]}],"providerMetadata":{"shortName":"canonical","orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateUpdated":"2026-04-22T16:08:14.960Z"},"impacts":[{"capecId":"CAPEC-29","descriptions":[{"lang":"en","value":"CAPEC-29: Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions"}]}],"credits":[{"lang":"en","value":"Zellic","type":"finder"}],"source":{"discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/uutils/coreutils/pull/10067","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-22T18:01:44.426332Z","id":"CVE-2026-35355","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-22T18:01:47.122Z"}}]}}}