GHSA-mj6p-44ch-cq69

Suggest an improvement
Source
https://github.com/advisories/GHSA-mj6p-44ch-cq69
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-mj6p-44ch-cq69/GHSA-mj6p-44ch-cq69.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-mj6p-44ch-cq69
Aliases
Published
2026-07-06T20:16:16Z
Modified
2026-07-06T20:41:29Z
Severity
  • 3.3 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
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.


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

Database specific
{
    "cwe_ids": [
        "CWE-362",
        "CWE-367",
        "CWE-732"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-07-06T20:16:16Z",
    "nvd_published_at": null,
    "severity": "LOW"
}
References

Affected packages

crates.io / uu_mkdir

Package

Name
uu_mkdir
View open source insights on deps.dev
Purl
pkg:cargo/uu_mkdir

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
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"