Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-56857

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

CVE-2026-56857

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

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

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
C
H
U
-

Related Resources

No items found.

References

https://go.dev/cl/847305, https://go.dev/issue/81739, https://groups.google.com/g/golang-announce/c/U2fTuyDJznI

Severity

9.8

CVSS Score
0
10

Basic Information

Base CVSS
9.8
EPSS Probability
0.00553%
EPSS Percentile
0.46927%
Introduced Version
1.27.0-0,go1.27.0-0
Fix Available
1.27.2,go1.27.2

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading