CVE-2026-35353
JSON

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 packageVersionsReported by
coreutilsbefore 0.6.0CVE List
uu_mkdir (crates.io)before 0.6.0GitHub Advisory Database
uutils coreutilsbefore 0.6.0NVD

All scores

canonical3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
GitHub3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-362CWE-367CWE-732

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

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

SourceRecordLicence
CVE ListCVE-2026-35353 changed 2026-04-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-mj6p-44ch-cq69 changed 2026-07-06CC-BY-4.0
NVDCVE-2026-35353 changed 2026-10-26Public domain