cve.bz

CVE-2026-56857 go standard library

9.8 criticalEPSS 0.6%Fix available

Critical (9.8) in go standard library. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.26.9, 1.27.2.

On this page
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).

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 47th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-10-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1386 Insecure Operation on Windows Junction / Mount Point
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-56857 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-56857?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-56857?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-56857 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • go standard library:internal/syscall/windows
  • go standard library:os

Versions

From the CNA's record in the CVE List.

ProductAffected
Go standard library osbefore 1.26.9
Go standard library osfrom 1.27.0-0 before 1.27.2
Go standard library internal/syscall/windowsbefore 1.26.9
Go standard library internal/syscall/windowsfrom 1.27.0-0 before 1.27.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2026-6604Gostdlib<1.26.9
>=1.27.0-0 <1.27.2
1.26.9, 1.27.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTSgolang-1.6, golang-1.10no fix listedUBUNTU-CVE-2026-56857
Ubuntu18.04:LTSgolang-1.8, golang-1.9no fix listedUBUNTU-CVE-2026-56857
Ubuntu20.04:LTSgolang-1.13, golang-1.14, golang-1.18 and 2 moreno fix listedUBUNTU-CVE-2026-56857
Ubuntu22.04:LTSgolang-1.17, golang-1.18, golang-1.20 and 5 moreno fix listedUBUNTU-CVE-2026-56857
Ubuntu24.04:LTSgolang-1.21, golang-1.23, golang-1.24 and 2 moreno fix listedUBUNTU-CVE-2026-56857
Ubuntu26.04:LTSgolang-1.23, golang-1.24, golang-1.25 and 1 moreno fix listedUBUNTU-CVE-2026-56857
Ubuntu26.10golang-1.26, golang-1.27no fix listedUBUNTU-CVE-2026-56857
UbuntuPro:18.04:LTSgolang-1.16, golang-1.18no fix listedUBUNTU-CVE-2026-56857
UbuntuPro:20.04:LTSgolang-1.16no fix listedUBUNTU-CVE-2026-56857
UbuntuPro:22.04:LTSgolang-1.13no fix listedUBUNTU-CVE-2026-56857
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morego1.261.26.9-150000.1.33.1SUSE-SU-2026:4629-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morego1.271.27.2-150000.1.12.1SUSE-SU-2026:4625-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morego1.26-openssl1.26.10-150000.1.21.2SUSE-SU-2026:4867-1
SUSELinux Enterprise Module for Development Tools 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6go1.26-openssl1.26.10-150600.13.18.1SUSE-SU-2026:4866-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0go1.261.26.9-160000.1.1SUSE-SU-2026:24239-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0go1.271.27.2-160000.1.1SUSE-SU-2026:24237-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0govulncheck-vulndb0.0.20261105T234957-160000.1.1SUSE-SU-2026:24730-1
openSUSELeap 16.0go1.261.26.9-160000.1.1openSUSE-SU-2026:22095-1
openSUSELeap 16.0go1.271.27.2-160000.1.1openSUSE-SU-2026:22093-1
openSUSETumbleweedgo1.261.26.9-1.1openSUSE-SU-2026:12093-1
openSUSETumbleweedgo1.271.27.2-1.1openSUSE-SU-2026:12101-1
openSUSETumbleweedrclone1.75.2-1.1openSUSE-SU-2026:12112-1
openSUSETumbleweedtempo-cli3.1.1-1.1openSUSE-SU-2026:12351-1
Alpinev3.24docker29.9.0-r0ALPINE-CVE-2026-56857
Alpinev3.24go1.26.9-r0ALPINE-CVE-2026-56857
Azure Linux3golangno fix listedAZL-107457 AZL-107489

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

Red Hat rates this flaw as LOW severity. A flaw was found in the Go standard library's scoped filesystem implementation (os.Root) on Windows. When Root.Mkdir or Root.MkdirAll is called and the final path component of the target is an NTFS junction that points to an empty location outside the designated root directory, the operation follows the junction and creates a directory outside the restricted boundary, bypassing the intended directory confinement. The issue only applies when the last path component is a junction (path/to/junction, but not path/junction/target), and only to Go programs running on Windows. Exploitation requires local filesystem access with standard unprivileged user privileges to plant the junction that a Go application using these scoped operations then targets; no user interaction is required. Successful exploitation allows an attacker to create unauthorized directories outside the root (low integrity impact), with no impact on confidentiality or availability, and without crossing security-authority boundaries. Red Hat products shipping the Go toolchain or Go-based components are recorded as affected, including Red Hat Enterprise Linux, Red Hat Enterprise Linux AI, Red Hat In-Vehicle OS, Red Hat OpenStack Platform, Red Hat AMQ, and Red Hat Edge Manager, among other streams. Because the impact is LOW, fixes in affected Red Hat streams are deferred and no update trackers are filed for this severity, while some streams outside full support scope are resolved as out of support scope; the residual risk is limited to Windows deployments of Go applications that rely on os.Root confinement in environments where untrusted local users can create NTFS junctions. Red Hat's LOW rating (CVSS 3.3, CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N) differs significantly from the CISA score of 9.8, which does not reflect the local access and privileges required to exploit this issue or its directory-creation-only consequence.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat OpenShift Service Mesh 3.0openshift-service-mesh/istio-cni-rhel9:1792912264Fixed 2026-10-29RHSA-2026:92451
Red Hat OpenShift Service Mesh 3.0openshift-service-mesh/istio-pilot-rhel9:1792911614Fixed 2026-10-29RHSA-2026:92451
Red Hat OpenShift Service Mesh 3.0openshift-service-mesh/istio-proxyv2-rhel9:1792951544Fixed 2026-10-29RHSA-2026:92451
Red Hat OpenShift Service Mesh 3.0openshift-service-mesh/istio-rhel9-operator:1792911464Fixed 2026-10-29RHSA-2026:92451
Red Hat OpenShift Service Mesh 3.1openshift-service-mesh/istio-cni-rhel9:1792912455Fixed 2026-10-29RHSA-2026:92480
Red Hat OpenShift Service Mesh 3.1openshift-service-mesh/istio-pilot-rhel9:1792912343Fixed 2026-10-29RHSA-2026:92480
Red Hat OpenShift Service Mesh 3.1openshift-service-mesh/istio-proxyv2-rhel9:1792937000Fixed 2026-10-29RHSA-2026:92480
Red Hat OpenShift Service Mesh 3.1openshift-service-mesh/istio-rhel9-operator:1792911843Fixed 2026-10-29RHSA-2026:92480
Red Hat OpenShift Service Mesh 3.2openshift-service-mesh/istio-cni-rhel9:1792912393Fixed 2026-10-29RHSA-2026:92497
Red Hat OpenShift Service Mesh 3.2openshift-service-mesh/istio-pilot-rhel9:1792912862Fixed 2026-10-29RHSA-2026:92497
Ansible Automation Orchestrator 2026ansible-automation-platform/automation-orchestrator-rhel9-operatorUnder investigation
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-rhel9Under investigation
AWS Load Balancer Operatoralbo/aws-load-balancer-rhel8-operatorUnder investigation
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-waiters-rhel10Under investigation
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-waiters-rhel9Under investigation
cert-manager Operator for Red Hat OpenShiftcert-manager/jetstack-cert-manager-rhel9Under investigation
Compliance Operatorcompliance/openshift-compliance-operator-bundleUnder investigation
Confidential Compute Attestationbuild-of-trustee/trustee-rhel9-operatorUnder investigation
Cost Management Metrics Operatorcostmanagement/costmanagement-metrics-rhel9-operatorUnder investigation
Cost Management On Premisecostmanagement/costmanagement-ingress-rhel9Under investigation
219 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-56857.

References

Check your stackJSON