Skip to content
9.8 Critical

CVE-2026-56857 On Windows, when the target of Root.Mkdir or Root.MkdirAll is a junction pointing to an empty location, the operation…

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 products and versions

Product Affected versions Fixed in
os 1.27 1.27.0-0 → < 1.27.2 1.27.2
os 1.26 earliest → < 1.26.9 1.26.9
internal/syscall/windows 1.27 1.27.0-0 → < 1.27.2 1.27.2
internal/syscall/windows 1.26 earliest → < 1.26.9 1.26.9

References

Timeline

  1. Published
  2. Last modified
The 6 CVEs of os →
Track this CVE