PatchSiren cyber security CVE debrief
CVE-2026-56857 Go standard library CVE debrief
A vulnerability in the Go standard library's os package on Windows allows an operation to create a directory at a junction target outside the root when the target of Root.Mkdir or Root.MkdirAll is a junction pointing to an empty location. This issue affects deployments using Go standard library versions prior to 1.26.9 or 1.27.2 on Windows. Defenders should assess exposure and prioritize patching to prevent potential directory creation outside the intended root directory. The vulnerability is particularly relevant for environments where Windows systems are used and the Go standard library is utilized for directory operations.
- Vendor
- Go standard library
- Product
- os
- CVSS
- Unknown
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-08
- Original CVE updated
- 2026-10-16
- Advisory published
- 2026-10-08
- Advisory updated
- 2026-10-16
Who should care
Defenders responsible for Go standard library deployments on Windows, particularly those using versions prior to 1.26.9 or 1.27.2, should assess exposure and prioritize patching to prevent potential directory creation outside the intended root directory.
Why it matters
A vulnerability in the Go standard library's os package on Windows allows an operation to create a directory at a junction target outside the root when the target of Root.Mkdir or Root.MkdirAll is a junction pointing to an empty location.
- Verify and patch affected Go standard library versions to prevent potential directory creation outside the intended root directory
- Review and update Windows environment configurations to prevent exploitation
- Monitor for potential directory creation outside the intended root directory
Technical summary
The vulnerability occurs when the target of Root.Mkdir or Root.MkdirAll is a junction pointing to an empty location on Windows. This allows the operation to create a directory at the junction target even when that target is located outside the root. The issue is specific to Windows environments and affects Go standard library versions prior to 1.26.9 or 1.27.2. The vulnerability can be mitigated by verifying and patching affected versions, reviewing and updating Windows environment configurations, and monitoring for potential directory creation outside the intended root directory.
Defensive priority
Defenders should prioritize verifying and patching affected Go standard library versions, particularly those used in Windows environments, to prevent potential directory creation outside the intended root directory.
Recommended defensive actions
- Verify and patch affected Go standard library versions
- Review and update Windows environment configurations
- Monitor for potential directory creation outside the intended root directory
- Perform a thorough review of existing directory structures to identify potential vulnerabilities
- Implement additional monitoring to detect unusual directory creation activities
- Conduct a risk assessment to determine the potential impact on the organization
- Develop a plan to remediate and mitigate the vulnerability
Evidence notes
The CVE record and source item provide details on the vulnerability, including its impact on the Go standard library's os package on Windows. However, there is limited information on exploitation, victims, or business impact.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-56857 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-56857
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-56857 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-56857
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Root.Mkdir(All) can follow junctions out of the root on Windows in os
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/56xxx/CVE-2026-56857.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://go.dev/cl/847305
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://go.dev/issue/81739
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://groups.google.com/g/golang-announce/c/U2fTuyDJznI
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://pkg.go.dev/vuln/GO-2026-6604
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.