CVE-2026-56857
JSON

9.8critical

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

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.55% (higher than 47% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Go
Also known as
GO-2026-6604BIT-GOLANG-2026-56857

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

Product or packageVersionsReported by
osbefore 1.26.9, from 1.27.0-0 before 1.27.2CVE List
internal/syscall/windowsbefore 1.26.9, from 1.27.0-0 before 1.27.2CVE List
stdlib (Go)before 1.26.9, from 1.27.0-0 before 1.27.2Go Vulnerability Database
golang (Bitnami)before 1.26.9, from 1.27.0-0 before 1.27.2Bitnami Vulnerability Database

All scores

CISA-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Bitnami Vulnerability Databasecritical rating

Classification

CWE-1386

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-56857 changed 2026-10-09CVE Terms of Use
Go Vulnerability DatabaseGO-2026-6604 changed 2026-10-16CC-BY-4.0
NVDCVE-2026-56857 changed 2026-10-09Public domain
Bitnami Vulnerability DatabaseBIT-GOLANG-2026-56857 changed 2026-10-16Apache-2.0