freenode

← CVE tracker

CVE-2026-56857

Root.Mkdir(All) can follow junctions out of the root on Windows in os

Severity
critical CVSS 9.8 (v3.1)
Affects
os · Go standard library
Weakness
CWE-1386 Insecure Operation on Windows Junction / Mount Point
Published
8 October 2026 by Go
First seen on our lists
5 October 2026
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).

Our coverage

On the lists