{"id":"GHSA-2m8x-mvfx-gwgj","summary":"uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition","details":"The cp utility in uutils coreutils is vulnerable to an information disclosure race condition. Destination files are initially created with umask-derived permissions (e.g., 0644) before being restricted to their final mode (e.g., 0600) later in the process. A local attacker can race to open the file during this window; once obtained, the file descriptor remains valid and readable even after the permissions are tightened, exposing sensitive or private file contents.","aliases":["CVE-2026-35357"],"modified":"2026-07-17T21:08:52.948993186Z","published":"2026-04-22T18:31:45Z","database_specific":{"cwe_ids":["CWE-367"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-04-30T17:12:12Z","nvd_published_at":"2026-04-22T17:16:38Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35357"},{"type":"WEB","url":"https://github.com/uutils/coreutils/issues/10011"},{"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-2m8x-mvfx-gwgj/GHSA-2m8x-mvfx-gwgj.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:H/I:N/A:N"}]}