Advisory

GO-2026-6604

Also known as: BIT-golang-2026-56857, CVE-2026-56857

Summary

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

Details

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

Severity

Not rated by the source.

Dates

Published
2026-10-08 22:31 UTC
Modified
2026-10-16 09:55 UTC

Affected packages and fixes

stdlib

Go · All systems

Affected

  • introduced 0, fixed 1.26.9, introduced 1.27.0-0, fixed 1.27.2 (semver)

Fixed versions

1.26.9, 1.27.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences