{"id":"GO-2026-6604","revision":"d2e0f56430ef426cbbda3c5d18dd127f","records":[{"revision":"d2e0f56430ef426cbbda3c5d18dd127f","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-6604","aliases":["BIT-golang-2026-56857","CVE-2026-56857"],"title":"Root.Mkdir(All) can follow junctions out of the root on Windows in os","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).","state":0,"publishedAt":"2026-10-08T22:31:09+00:00","modifiedAt":"2026-10-16T09:55:42.2759122+00:00","affected":[{"ecosystem":"Go","name":"stdlib","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.26.9"},{"kind":"introduced","version":"1.27.0-0"},{"kind":"fixed","version":"1.27.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://go.dev/cl/847305","https://go.dev/issue/81739","https://groups.google.com/g/golang-announce/c/U2fTuyDJznI"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-6604","license":"OSV · upstream source license applies","key":"osv:GO-2026-6604","identifiers":["GO-2026-6604","BIT-golang-2026-56857","CVE-2026-56857"]},"retained":false,"historicalAffected":[]}],"coverage":[]}