{"id":"GHSA-mj6p-44ch-cq69","summary":"mkdir: -m exposes directory with umask perms before chmod (race window)","details":"The mkdir utility in uutils coreutils incorrectly applies permissions when using the -m flag by creating a directory with umask-derived permissions (typically 0755) before subsequently changing them to the requested mode via a separate chmod system call. In multi-user environments, this introduces a brief window where a directory intended to be private is accessible to other users, potentially leading to unauthorized data access.\n\n---\n_Zellic finding 3.48. Reported in the Zellic *uutils coreutils Program Security Assessment* (for Canonical, Jan 2026), audited commit `3a07ffc5a9bd4c283e75afa548ba1f1957bad242`._","aliases":["CVE-2026-35353"],"modified":"2026-07-06T20:41:29.914959Z","published":"2026-07-06T20:16:16Z","database_specific":{"github_reviewed_at":"2026-07-06T20:16:16Z","nvd_published_at":null,"cwe_ids":["CWE-362","CWE-367","CWE-732"],"severity":"LOW","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/uutils/coreutils/security/advisories/GHSA-mj6p-44ch-cq69"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35353"},{"type":"WEB","url":"https://github.com/uutils/coreutils/pull/10036"},{"type":"WEB","url":"https://github.com/uutils/coreutils/commit/037b9583bc03d814e8516df54ebcda6f681fe1f8"},{"type":"PACKAGE","url":"https://github.com/uutils/coreutils"},{"type":"WEB","url":"https://github.com/uutils/coreutils/releases/tag/0.6.0"}],"affected":[{"package":{"name":"uu_mkdir","ecosystem":"crates.io","purl":"pkg:cargo/uu_mkdir"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.6.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-mj6p-44ch-cq69/GHSA-mj6p-44ch-cq69.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}