Advisory record · GO-2026-6604

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

CVSS 9.8 CriticalCriticalEPSS 0.0055 · 46th percentile

Critical, because:

  • CVSS score 9.8: 9.0 or more.

How we decide what’s critical

Published by OSV at 8 Oct 2026, 22:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
stdlibGo<1.26.9 || >=1.27.0-0, <1.27.21.26.9, 1.27.2
Identifiers
GO-2026-6604 · BIT-golang-2026-56857 · CVE-2026-56857
Weakness (CWE)
CWE-1386
Published
8 Oct 2026
Updated
16 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Go standard library (os package) versions before 1.26.9, and 1.27.0 before 1.27.2, are vulnerable on Windows. When the target of Root.Mkdir or Root.MkdirAll is a junction pointing to an empty location, a directory can be created at the junction target even when it lies outside the root. Upgrade to Go 1.26.9 or 1.27.2.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.8 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H ADP (CISA-ADP)
  • CISA KEV Not listed.
  • EPSS 0.0055, the 46th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:12 UTC First seen by agentprime
  2. 31 Oct 2026, 14:12 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.