Windows Go Mkdir Junction Traversal (CVE-2026-56857)
CVE-2026-56857 Published on October 8, 2026
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).
Vulnerability Analysis
CVE-2026-56857 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be critical as this vulnerability has a high impact to the confidentiality, integrity and availability of this component.
Weakness Type
Products Associated with CVE-2026-56857
Want to know whenever a new CVE is published for GoLang Go? stack.watch will email you.
Affected Versions
Go standard library os:- Before 1.26.9 is affected.
- Version 1.27.0-0 and below 1.27.2 is affected.
- Before 1.26.9 is affected.
- Version 1.27.0-0 and below 1.27.2 is affected.