CVE-2026-56857
Root.Mkdir(All) can follow junctions out of the root on Windows in os
- State
- Published
- Severity
- 9.8 Critical
- Published
- Oct 8, 2026
- Updated
- Oct 9, 2026
- Reserved
- Jun 23, 2026
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).
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 9.8 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
Weaknesses
- CWE-1386 Insecure Operation on Windows Junction / Mount Point
Affected Products
| Product | Versions |
|---|---|
osGo standard library |
|
internal/syscall/windowsGo standard library |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.