{"id":"CVE-2026-35353","aliases":["GHSA-mj6p-44ch-cq69"],"title":"mkdir: -m exposes directory with umask perms before chmod (race window)","summary":"mkdir: -m exposes directory with umask perms before chmod (race window)","severity":"low","cvss":3.3,"cwe":["CWE-362","CWE-367","CWE-732"],"vendor":"uu_mkdir","product":"uu_mkdir","ecosystem":"rust","affected":["uu_mkdir < 0.6.0"],"patched":["uu_mkdir 0.6.0"],"published":"2026-07-06","updated":"2026-07-06","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-mj6p-44ch-cq69","references":[{"url":"https://github.com/uutils/coreutils/security/advisories/GHSA-mj6p-44ch-cq69"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35353"},{"url":"https://github.com/uutils/coreutils/pull/10036"},{"url":"https://github.com/uutils/coreutils/commit/037b9583bc03d814e8516df54ebcda6f681fe1f8"},{"url":"https://github.com/uutils/coreutils/releases/tag/0.6.0"},{"url":"https://github.com/advisories/GHSA-mj6p-44ch-cq69"}],"tags":["ghsa","rust"],"epss":0.00102,"epssPercentile":0.01077,"ingestedAt":"2026-07-06T20:46:12.677Z","slug":"CVE-2026-35353","body":"## Overview\n\nThe 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`._\n\n## Affected packages\n\n- `uu_mkdir < 0.6.0`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `uu_mkdir 0.6.0`","depth":"sunlit","depthScore":18,"depthScoreParts":{"impact":18.2,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}