CVE-2026-56857GO Standard Library Os vulnerability
CVSS score
9.8
Critical
CVSS 3.1 from 134c704f-9b21-4f2e-91b3-4a467353bcc0
Exploit probability (EPSS)
0.55%
0.55% chance of exploitation in the next 30 days, higher than 47.1% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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).
Source: NVD · CNA: security@golang.org
How to fix it, step by step
Check whether you're affected
Find every system running Go standard library Os, Go standard library Internal/syscall/windows and compare its version with the affected versions.
Update to a fixed version
- Update Os, Internal/syscall/windows to 1.26.9, 1.27.2 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Go standard library Os | < 1.26.9 · ≥ 1.27.0-0, < 1.27.2 |
| Go standard library Internal/syscall/windows | < 1.26.9 · ≥ 1.27.0-0, < 1.27.2 |
Weakness
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-56857 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.6% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-56857?
CVE-2026-56857 has a CVSS 3.1 base score of 9.8 (critical).
Which versions are affected?
GO Standard Library Os (< 1.26.9; ≥ 1.27.0-0, < 1.27.2), GO Standard Library Internal/syscall/windows (< 1.26.9; ≥ 1.27.0-0, < 1.27.2)
Is there a patch for CVE-2026-56857?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.