CVE-2026-56857
Public on 2026-10-08
Modified on 2026-10-10
Description
On Windows, when the target of Root.Mkdir or Root.MkdirAll was a junction pointing to an empty location, the operation would create a directory at the junction target even when that target was 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).
Root.Mkdir and Root.MkdirAll now correctly avoid resolving junctions.
NOTE: https://www.openwall.com/lists/oss-security/2026/10/08/9
NOTE: https://github.com/golang/go/issues/81739
Root.Mkdir and Root.MkdirAll now correctly avoid resolving junctions.
NOTE: https://www.openwall.com/lists/oss-security/2026/10/08/9
NOTE: https://github.com/golang/go/issues/81739
Severity
See what this means
CVSS v3 Base Score
See breakdown
Affected Packages
| Platform | Package | Release Date | Advisory | Status |
|---|---|---|---|---|
| Amazon Linux 2 - Core | golang | Not Affected | ||
| Amazon Linux 2 - Golang1.11 Extra | golang | No Fix Planned | ||
| Amazon Linux 2 - Golang1.19 Extra | golang | No Fix Planned | ||
| Amazon Linux 2 - Golang1.9 Extra | golang | No Fix Planned | ||
| Amazon Linux 2023 | golang | Not Affected | ||
| Amazon Linux 2027 Preview | golang | Not Affected |
CVSS Scores
| Score Type | Score | Vector | |
|---|---|---|---|
| Amazon Linux | CVSSv3 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |