CVE-2026-56857: Go standard library os · Insecure Operation on Windows Junction / Mount Point
Affects Go standard library osSource CVE Database V5
Not known to be exploited · CVSS 9.8 Critical : upgrade to 1.27.2 or 1.26.9 as a priority.
Data as of 22 Nov 2026, 21:15 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 47% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.27.2, 1.26.9
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 8 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.
What to do
Upgrade os and internal/syscall/windows to 1.27.2 or 1.26.9.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Go standard libraryos | Affected
| Fixed in
|
| Go standard libraryos | Affected
| Fixed in
|
| Go standard libraryinternal/syscall/windows | Affected
| Fixed in
|
| Go standard libraryinternal/syscall/windows | Affected
| Fixed in
|
Goospkg:golang/osOther threats | Affected
| Fixed in
|
Gointernal/syscall/windowspkg:golang/internal/syscall/windowsOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, avoid using Root.Mkdir or Root.MkdirAll on untrusted or user-controlled paths that may include junctions, especially where the last path component is a junction pointing to an empty location.
Description
CVE-2026-56857 is a critical vulnerability in the Go standard library's os package affecting Windows systems. It involves insecure operations on Windows junctions or mount points during directory creation with Root.Mkdir or Root.MkdirAll. Specifically, when the last path component is a junction pointing to an empty location, these functions can create directories at the junction target even if it lies outside the intended root directory. This behavior can lead to unauthorized directory creation outside the expected path boundaries.