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

Fri, 09 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1386
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Fri, 09 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-22

Fri, 09 Oct 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-59
References
Metrics threat_severity

None

cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'}

threat_severity

Low


Fri, 09 Oct 2026 09:15:00 +0000

Type Values Removed Values Added
First Time appeared Go Standard Library
Go Standard Library internal/syscall/windows
Go Standard Library os
Vendors & Products Go Standard Library
Go Standard Library internal/syscall/windows
Go Standard Library os

Fri, 09 Oct 2026 01:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-22

Thu, 08 Oct 2026 23:00:00 +0000

Type Values Removed Values Added
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).
Title Root.Mkdir(All) can follow junctions out of the root on Windows in os
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Go

Published: 2026-10-08T22:53:58.387Z

Updated: 2026-10-09T15:36:01.712Z

Reserved: 2026-06-23T15:10:49.353Z

Link: CVE-2026-56857

cve-icon Vulnrichment

Updated: 2026-10-09T15:35:52.818Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-08T23:17:01.487

Modified: 2026-10-09T16:35:35.900

Link: CVE-2026-56857

cve-icon Redhat

Severity : Low

Publid Date: 2026-10-08T22:53:58Z

Links: CVE-2026-56857 - Bugzilla