Skip to content
Heist/ feed
Back to feed
Low

uutils coreutils mkdir Permission Exposure Race Condition with -m

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-35353
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 06:10 UTC · Revision 1

Source evidence

uutils coreutils mkdir Permission Exposure Race Condition with -m

core-osv · Original source

Published 22 Apr 2026, 16:08 UTC

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.

osv:CVE-2026-35353
Complete source record
{
  "id": "70da1d2b07be381f4368cf351b48b5bfad3282c4a37c416f0fec26daece71356",
  "url": "https://osv.dev/vulnerability/CVE-2026-35353",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "uutils coreutils mkdir Permission Exposure Race Condition with -m",
    "summary": "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.",
    "evidence": "osv:CVE-2026-35353",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2026-35353",
      "aliases": [
        "CVE-2026-35353",
        "GHSA-mj6p-44ch-cq69"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/uutils/coreutils",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2319a99057d11b0c9744c885df84806eea019166"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.6.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "2319a99057d11b0c9744c885df84806eea019166"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "0.6.0"
                  },
                  {
                    "cpe": "cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.6.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "latest-commit",
            "0.5.0",
            "0.4.0",
            "0.3.0",
            "0.2.2",
            "0.2.0",
            "0.1.0",
            "0.0.30-delete",
            "0.0.30",
            "0.0.29",
            "0.0.28",
            "0.0.27",
            "0.0.26",
            "0.0.25",
            "0.0.24",
            "0.0.23",
            "0.0.22",
            "0.0.21",
            "0.0.20",
            "0.0.19",
            "0.0.18",
            "0.0.17",
            "0.0.16",
            "0.0.15",
            "0.0.14",
            "0.0.13",
            "0.0.12",
            "0.0.9",
            "0.0.8",
            "0.0.7",
            "0.0.6",
            "0.0.5",
            "0.0.3",
            "0.0.2",
            "0.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-35353.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.971978467Z",
      "provider": "osv",
      "references": [
        "https://github.com/uutils",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35353.json",
        "https://github.com/uutils/coreutils/releases/tag/0.6.0",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-35353",
        "https://github.com/uutils/coreutils/pull/10036",
        "https://github.com/uutils/coreutils"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-367"
        ],
        "cna_assigner": "canonical",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35353.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-35353",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 518444,
  "published_at": "2026-04-22T16:08:09.923+00:00"
}