low

CVE-2026-35353

crates.io · uu_mkdir • crates.io · coreutils

Summary

mkdir: -m exposes directory with umask perms before chmod (race window)

Severity
low
CVSS
3.3
EPSS
0.1% (p1)
CWE
CWE-362, CWE-367, CWE-732
Also known as
GHSA-mj6p-44ch-cq69, GHSA-vf87-345h-9qhx
Published
2026-07-06
Updated
2026-07-06

Advisory 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.


Zellic finding 3.48. Reported in the Zellic uutils coreutils Program Security Assessment (for Canonical, Jan 2026), audited commit 3a07ffc5a9bd4c283e75afa548ba1f1957bad242.

References

Related advisories

Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.

Check my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.