3.3low
uutils coreutils mkdir Permission Exposure Race Condition with -m
- Severity
- 3.3low CVSS:3.1 by canonical
- Exploit likelihood
- 0.11% (higher than 1% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- canonical
- Also known as
- GHSA-mj6p-44ch-cq69
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| coreutils | before 0.6.0 | CVE List |
| uu_mkdir (crates.io) | before 0.6.0 | GitHub Advisory Database |
| uutils coreutils | before 0.6.0 | NVD |
All scores
| canonical | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
La utilidad mkdir en uutils coreutils aplica incorrectamente los permisos al usar la bandera -m al crear un directorio con permisos derivados de umask (típicamente 0755) antes de cambiarlos posteriormente al modo solicitado mediante una llamada al sistema chmod separada. En entornos multiusuario, esto introduce una breve ventana donde un directorio destinado a ser privado es accesible para otros usuarios, lo que podría llevar a acceso no autorizado a datos.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-35353 changed 2026-04-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mj6p-44ch-cq69 changed 2026-07-06 | CC-BY-4.0 |
| NVD | CVE-2026-35353 changed 2026-10-26 | Public domain |