Vulnerability Report: GO-2026-6604
- CVE-2026-56857
- Affects: os, internal/syscall/windows
- Published: Oct 08, 2026
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).
Affected Packages
-
PathVersionsSymbols
-
before go1.26.9, from go1.27.0-0 before go1.27.2
-
before go1.26.9, from go1.27.0-0 before go1.27.2
Aliases
References
- https://go.dev/cl/847305
- https://go.dev/issue/81739
- https://groups.google.com/g/golang-announce/c/U2fTuyDJznI
- https://vuln.go.dev/ID/GO-2026-6604.json
Credits
- Daniele Ballarini
Feedback
See anything missing or incorrect?
Suggest an edit to this report.