CVE-2026-56857
9.8critical
Root.Mkdir(All) can follow junctions out of the root on Windows in os
- Severity
- 9.8critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.55% (higher than 47% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Go
- Also known as
- GO-2026-6604BIT-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).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| os | before 1.26.9, from 1.27.0-0 before 1.27.2 | CVE List |
| internal/syscall/windows | before 1.26.9, from 1.27.0-0 before 1.27.2 | CVE List |
| stdlib (Go) | before 1.26.9, from 1.27.0-0 before 1.27.2 | Go Vulnerability Database |
| golang (Bitnami) | before 1.26.9, from 1.27.0-0 before 1.27.2 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | critical rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-56857 changed 2026-10-09 | CVE Terms of Use |
| Go Vulnerability Database | GO-2026-6604 changed 2026-10-16 | CC-BY-4.0 |
| NVD | CVE-2026-56857 changed 2026-10-09 | Public domain |
| Bitnami Vulnerability Database | BIT-GOLANG-2026-56857 changed 2026-10-16 | Apache-2.0 |