CVEfocus › CVE database › CVE-2026-56857

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

CVSS 9.8 CriticalEPSS 0.7% (higher than 47% of CVEs)Published 2026-10-08Updated 2026-10-09Assigner: Go

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).

CWE-1386

What to do

Fixed builds are available from Alpine, Go: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
84Fix pending
14Under investigation
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10golang-1.26Fix pendingUBUNTU-CVE-2026-56857
Ubuntu 26.10golang-1.27Fix pendingUBUNTU-CVE-2026-56857
Ubuntu 26.04golang-1.23Under investigationUBUNTU-CVE-2026-56857
Ubuntu 26.04golang-1.24Under investigationUBUNTU-CVE-2026-56857
Ubuntu 26.04golang-1.25Under investigationUBUNTU-CVE-2026-56857
Ubuntu 26.04golang-1.26Fix pendingUBUNTU-CVE-2026-56857
Ubuntu 24.04golang-1.21Under investigationUBUNTU-CVE-2026-56857
Ubuntu 24.04golang-1.22Not affected
vulnerable_code_not_present
Ubuntu 24.04golang-1.23Under investigationUBUNTU-CVE-2026-56857
Ubuntu 24.04golang-1.24Under investigationUBUNTU-CVE-2026-56857
Ubuntu 24.04golang-1.25Under investigationUBUNTU-CVE-2026-56857
Ubuntu 24.04golang-1.26Fix pendingUBUNTU-CVE-2026-56857
Ubuntu 22.04golang-1.13Fix pendingUBUNTU-CVE-2026-56857
Ubuntu 22.04golang-1.17Under investigationUBUNTU-CVE-2026-56857
Ubuntu 22.04golang-1.18Under investigationUBUNTU-CVE-2026-56857
Ubuntu 22.04golang-1.20Under investigationUBUNTU-CVE-2026-56857
Ubuntu 22.04golang-1.21Under investigationUBUNTU-CVE-2026-56857
Ubuntu 22.04golang-1.22Not affected
vulnerable_code_not_present
Ubuntu 22.04golang-1.23Under investigationUBUNTU-CVE-2026-56857
Ubuntu 22.04golang-1.24Under investigationUBUNTU-CVE-2026-56857
Ubuntu 22.04golang-1.25Under investigationUBUNTU-CVE-2026-56857
Ubuntu 22.04golang-1.26Fix pendingUBUNTU-CVE-2026-56857
Ubuntu 20.04golang-1.13Fix pendingUBUNTU-CVE-2026-56857
Ubuntu 20.04golang-1.14Fix pendingUBUNTU-CVE-2026-56857
Ubuntu 20.04golang-1.16Fix pendingUBUNTU-CVE-2026-56857
Ubuntu 20.04golang-1.18Fix pendingUBUNTU-CVE-2026-56857
Ubuntu 20.04golang-1.20Fix pendingUBUNTU-CVE-2026-56857
Ubuntu 20.04golang-1.21Fix pendingUBUNTU-CVE-2026-56857
Ubuntu 18.04golang-1.16Fix pendingUBUNTU-CVE-2026-56857
Ubuntu 18.04golang-1.18Fix pendingUBUNTU-CVE-2026-56857
Ubuntu 18.04golang-1.8Fix pendingUBUNTU-CVE-2026-56857
Ubuntu 18.04golang-1.9Fix pendingUBUNTU-CVE-2026-56857
Ubuntu 16.04golang-1.10Fix pendingUBUNTU-CVE-2026-56857
Ubuntu 16.04golang-1.6Fix pendingUBUNTU-CVE-2026-56857
Red Hat Enterprise Linux 10buildahFix pending
Fix deferred
Red Hat Enterprise Linux 10buildah-testsFix pending
Fix deferred
Red Hat Enterprise Linux 10conmonFix pending
Fix deferred
Red Hat Enterprise Linux 10go-toolsetFix pending
Fix deferred
Red Hat Enterprise Linux 10golangFix pending
Fix deferred
Red Hat Enterprise Linux 10golang-binFix pending
Fix deferred
Red Hat Enterprise Linux 10golang-docsFix pending
Fix deferred
Red Hat Enterprise Linux 10golang-miscFix pending
Fix deferred
Red Hat Enterprise Linux 10golang-raceFix pending
Fix deferred
Red Hat Enterprise Linux 10golang-srcFix pending
Fix deferred
Red Hat Enterprise Linux 10golang-testsFix pending
Fix deferred
Red Hat Enterprise Linux 10skopeoFix pending
Fix deferred
Red Hat Enterprise Linux 10skopeo-testsFix pending
Fix deferred
Red Hat Enterprise Linux 10trustee-guest-componentsFix pending
Fix deferred
Red Hat Enterprise Linux 10trustee-kbsFix pending
Fix deferred
Red Hat Enterprise Linux 9buildahFix pending
Fix deferred
Red Hat Enterprise Linux 9buildah-testsFix pending
Fix deferred
Red Hat Enterprise Linux 9conmonFix pending
Fix deferred
Red Hat Enterprise Linux 9containernetworking-pluginsFix pending
Fix deferred
Red Hat Enterprise Linux 9delveFix pending
Fix deferred
Red Hat Enterprise Linux 9go-toolsetFix pending
Fix deferred
Red Hat Enterprise Linux 9golangFix pending
Fix deferred
Red Hat Enterprise Linux 9golang-binFix pending
Fix deferred
Red Hat Enterprise Linux 9golang-docsFix pending
Fix deferred
Red Hat Enterprise Linux 9golang-github-cpuguy83-md2manFix pending
Fix deferred
Red Hat Enterprise Linux 9golang-miscFix pending
Fix deferred
Red Hat Enterprise Linux 9golang-raceFix pending
Fix deferred
Red Hat Enterprise Linux 9golang-srcFix pending
Fix deferred
Red Hat Enterprise Linux 9golang-testsFix pending
Fix deferred
Red Hat Enterprise Linux 9oci-seccomp-bpf-hookFix pending
Fix deferred
Red Hat Enterprise Linux 9podmanFix pending
Fix deferred
Red Hat Enterprise Linux 9podman-catatonitFix pending
Fix deferred
Red Hat Enterprise Linux 9podman-dockerFix pending
Fix deferred
Red Hat Enterprise Linux 9podman-gvproxyFix pending
Fix deferred
Red Hat Enterprise Linux 9podman-pluginsFix pending
Fix deferred
Red Hat Enterprise Linux 9podman-remoteFix pending
Fix deferred
Red Hat Enterprise Linux 9podman-testsFix pending
Fix deferred
Red Hat Enterprise Linux 9runcFix pending
Fix deferred
Red Hat Enterprise Linux 9skopeoFix pending
Fix deferred
Red Hat Enterprise Linux 9skopeo-testsFix pending
Fix deferred
Red Hat Enterprise Linux 9trustee-guest-componentsFix pending
Fix deferred
Red Hat Enterprise Linux 8compat-sap-c++-11Fix pending
Fix deferred
Red Hat Enterprise Linux 8conmonFix pending
Fix deferred
Red Hat Enterprise Linux 8containernetworking-pluginsFix pending
Fix deferred
Red Hat Enterprise Linux 8containers-commonFix pending
Fix deferred
Red Hat Enterprise Linux 8crunFix pending
Fix deferred
Red Hat Enterprise Linux 8git-lfsFix pending
Fix deferred
Red Hat Enterprise Linux 8go-toolsetFix pending
Fix deferred
Red Hat Enterprise Linux 8golangFix pending
Fix deferred
Red Hat Enterprise Linux 8golang-binFix pending
Fix deferred
Red Hat Enterprise Linux 8golang-docsFix pending
Fix deferred
Red Hat Enterprise Linux 8golang-miscFix pending
Fix deferred
Red Hat Enterprise Linux 8golang-raceFix pending
Fix deferred
Red Hat Enterprise Linux 8golang-srcFix pending
Fix deferred
Red Hat Enterprise Linux 8golang-testsFix pending
Fix deferred
Red Hat Enterprise Linux 8oci-seccomp-bpf-hookFix pending
Fix deferred
Red Hat Enterprise Linux 8rhcFix pending
Fix deferred
Red Hat Enterprise Linux 8runcFix pending
Fix deferred
Red Hat Enterprise Linux 8skopeoFix pending
Fix deferred
Red Hat Enterprise Linux 8skopeo-testsFix pending
Fix deferred
Red Hat Enterprise Linux 8toolboxFix pending
Fix deferred
Red Hat Enterprise Linux 8toolbox-testsFix pending
Fix deferred
Red Hat Enterprise Linux 8weldr-clientFix pending
Fix deferred
Red Hat Enterprise Linux 7compat-sap-c++-11Fix pending
Fix deferred
Red Hat Enterprise Linux 7rhcFix pending
Fix deferred
Red Hat Enterprise Linux 7rhc-worker-scriptFix pending
Fix deferred
Alpine Linux 3.24dockerFixed29.9.0-r0ALPINE-CVE-2026-56857
Alpine Linux 3.24goFixed1.26.9-r0ALPINE-CVE-2026-56857
Go librarystdlibFixed1.27.2GO-2026-6604

What the vendor says

As published in the CVE record by Go, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.