Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Go standard library / os | affected 0 before 1.26.9; affected 1.27.0-0 before 1.27.2 |
| Go standard library / internal/syscall/windows | affected 0 before 1.26.9; affected 1.27.0-0 before 1.27.2 |
CWE
No CWE identifiers supplied.
References
- https://go.dev/cl/847305
- https://go.dev/issue/81739
- https://groups.google.com/g/golang-announce/c/U2fTuyDJznI
- https://pkg.go.dev/vuln/GO-2026-6604
ADP enrichment
No English description supplied.
No references supplied.