GO-2026-6604
Root.Mkdir(All) can follow junctions out of the root on Windows in os
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2026-56857
- Alias
- BIT-golang-2026-56857
Description
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).
Paquets affectés
| Paquet | Versions |
|---|---|
| Go · stdlib | introduced 0, fixed 1.26.9, introduced 1.27.0-0, fixed 1.27.2 |
Références
- https://go.dev/cl/847305 FIX
- https://go.dev/issue/81739 REPORT
- https://groups.google.com/g/golang-announce/c/U2fTuyDJznI WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |