CVEMETERBack to radar
OFFICIAL RECORD · Go

CVE-2026-56857

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 9.8 · critical

Root.Mkdir(All) can follow junctions out of the root on Windows in os

On Windows, when the target of Root.Mkdir or Root.MkdirAll is a junction pointing to an empty location, the operation can create a directory at the junction target even when that target is located outside the root. This only applies to operations where the last path component is a junction (path/to/junction, but not path/junction/target).

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.553% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 9.8 · published by Ubuntu Security
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T16:49:47.922Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:59:58.648ZCISA KEV
cvssverified2026-11-19T16:49:47.922ZUbuntu Security
epssverified2026-11-19T16:04:52.705ZFIRST EPSS
patchesverified2026-11-19T12:52:39.236ZOSV
affectedverified2026-11-19T12:58:53.416ZCVE Program
lifecycleverified2026-11-19T12:58:53.416ZCVE Program

Affected versions and configuration

Go standard library os (windows); default status: unaffected: 0 to < 1.26.9 [affected; scheme: semver]; 1.27.0-0 to < 1.27.2 [affected; scheme: semver] Go standard library internal/syscall/windows (windows); default status: unaffected: 0 to < 1.26.9 [affected; scheme: semver]; 1.27.0-0 to < 1.27.2 [affected; scheme: semver]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "golang-1.23",
    "debian": "https://tracker.debian.org/pkg/golang-1.23",
    "source": "https://ubuntu.com/security/cve?package=golang-1.23",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=golang-1.23",
    "statuses": [
      {
        "pocket": "security",
        "status": "needs-triage",
        "component": null,
        "description": "",
        "release_codename": "jammy"
      },
      {
        "pocket": "security",
        "status": "needs-triage",
        "component": null,
        "description": "",
        "release_codename": "noble"
      },
      {
        "pocket": "security",
        "status": "needs-triage",
        "component": null,
        "description": "",
        "release_codename": "resolute"
      },
      {
        "pocket": "security",
        "status": "needs-triage",
        "component": null,
        "description": "",
        "release_codename": "upstream"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "stonking"
      }
    ]
  }
]
Archived source JSON
Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "golang-1.22",
    "debian": "https://tracker.debian.org/pkg/golang-1.22",
    "source": "https://ubuntu.com/security/cve?package=golang-1.22",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=golang-1.22",
    "statuses": [
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "resolute"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "1.22.2 below 1.24.0",
        "release_codename": "focal"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "1.22.2 below 1.24.0",
        "release_codename": "jammy"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "1.22.2 below 1.24.0",
        "release_codename": "noble"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "code not present",
        "release_codename": "upstream"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "stonking"
      }
    ]
  }
]
Archived source JSON
CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "Go standard library",
      "product": "os",
      "versions": [
        {
          "status": "affected",
          "version": "0",
          "lessThan": "1.26.9",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "1.27.0-0",
          "lessThan": "1.27.2",
          "versionType": "semver"
        }
      ],
      "platforms": [
        "windows"
      ],
      "packageName": "os",
      "collectionURL": "https://pkg.go.dev",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "Root.Mkdir"
        },
        {
          "name": "doInRoot"
        },
        {
          "name": "rootMkdirAll"
        },
        {
          "name": "Root.Chmod"
        },
        {
          "name": "Root.Chown"
        },
        {
          "name": "Root.Chtimes"
        },
        {
          "name": "Root.Lchown"
        },
        {
          "name": "Root.Link"
        },
        {
          "name": "Root.MkdirAll"
        },
        {
          "name": "Root.Remove"
        },
        {
          "name": "Root.RemoveAll"
        },
        {
          "name": "Root.Rename"
        },
        {
          "name": "Root.Symlink"
        }
      ]
    },
    {
      "vendor": "Go standard library",
      "product": "internal/syscall/windows",
      "versions": [
        {
          "status": "affected",
          "version": "0",
          "lessThan": "1.26.9",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "1.27.0-0",
          "lessThan": "1.27.2",
          "versionType": "semver"
        }
      ],
      "platforms": [
        "windows"
      ],
      "packageName": "internal/syscall/windows",
      "collectionURL": "https://pkg.go.dev",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "Mkdirat"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "cvssV3_1": {
            "scope": "UNCHANGED",
            "version": "3.1",
            "baseScore": 9.8,
            "attackVector": "NETWORK",
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "integrityImpact": "HIGH",
            "userInteraction": "NONE",
            "attackComplexity": "LOW",
            "availabilityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "confidentialityImpact": "HIGH"
          }
        },
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-56857",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "total"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-10-09T15:35:58.663117Z"
            }
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "type": "CWE",
              "cweId": "CWE-1386",
              "description": "CWE-1386 Insecure Operation on Windows Junction / Mount Point"
            }
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-10-09T15:36:01.712Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GO-2026-6604",
  "aliases": [
    "BIT-golang-2026-56857",
    "CVE-2026-56857"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.26.9"
            },
            {
              "introduced": "1.27.0-0"
            },
            {
              "fixed": "1.27.2"
            }
          ]
        }
      ],
      "package": {
        "name": "stdlib",
        "purl": "pkg:golang/stdlib",
        "ecosystem": "Go"
      },
      "versions": [],
      "database_specific": {
        "source": "https://vuln.go.dev/ID/GO-2026-6604.json"
      },
      "ecosystem_specific": {
        "imports": [
          {
            "goos": [
              "windows"
            ],
            "path": "os",
            "symbols": [
              "Root.Chmod",
              "Root.Chown",
              "Root.Chtimes",
              "Root.Lchown",
              "Root.Link",
              "Root.Mkdir",
              "Root.MkdirAll",
              "Root.Remove",
              "Root.RemoveAll",
              "Root.Rename",
              "Root.Symlink",
              "doInRoot",
              "rootMkdirAll"
            ]
          },
          {
            "goos": [
              "windows"
            ],
            "path": "internal/syscall/windows",
            "symbols": [
              "Mkdirat"
            ]
          }
        ]
      }
    }
  ],
  "severity": [],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://go.dev/cl/847305",
      "type": "FIX"
    },
    {
      "url": "https://go.dev/issue/81739",
      "type": "REPORT"
    },
    {
      "url": "https://groups.google.com/g/golang-announce/c/U2fTuyDJznI",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "url": "https://pkg.go.dev/vuln/GO-2026-6604",
    "review_status": "REVIEWED"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryGo / packagestdlibNot a distribution channel1.26.9Official record
ecosystem-boundaryGo / packagestdlibNot a distribution channel1.27.2Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history