{"id":"CVE-2026-56857","aliases":["CVE-2026-56857","GO-2026-6604","BIT-GOLANG-2026-56857"],"related":[],"kind":"vulnerability","state":"published","title":"Root.Mkdir(All) can follow junctions out of the root on Windows in os","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"}],"published":"2026-10-08T22:31:09.000Z","modified":"2026-10-16T09:55:42.275Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-1386"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.26.9","status":"affected"},{"type":"semver","introduced":"1.27.0-0","fixed":"1.27.2","status":"affected"}],"vendor":"Go standard library","product":"os","package":"os","platforms":["windows"],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"1.26.9","status":"affected"},{"type":"semver","introduced":"1.27.0-0","fixed":"1.27.2","status":"affected"}],"vendor":"Go standard library","product":"internal/syscall/windows","package":"internal/syscall/windows","platforms":["windows"],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.26.9"},{"type":"semver","introduced":"1.27.0-0","status":"affected","fixed":"1.27.2"}],"ecosystem":"Go","package":"stdlib","purl":"pkg:golang/stdlib","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.26.9"},{"type":"semver","introduced":"1.27.0-0","status":"affected","fixed":"1.27.2"}],"ecosystem":"Bitnami","package":"golang","purl":"pkg:bitnami/golang","source":"bitnami"}],"references":[{"url":"https://go.dev/cl/847305","tags":["fix","web"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://go.dev/issue/81739","tags":["report","web"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://groups.google.com/g/golang-announce/c/U2fTuyDJznI","tags":["web"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://pkg.go.dev/vuln/GO-2026-6604","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56857","tags":["web"],"sources":["bitnami"]}],"credits":["Daniele Ballarini"],"assigner":"Go","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-09T15:35:58.663Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-56857","url":"https://www.cve.org/CVERecord?id=CVE-2026-56857","licence":"CVE Terms of Use","modified":"2026-10-09T15:36:01.712Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6604","url":"https://pkg.go.dev/vuln/GO-2026-6604","licence":"CC-BY-4.0","modified":"2026-10-16T09:55:42.275Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-56857","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56857","licence":"Public domain","modified":"2026-10-09T16:35:35.900Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GOLANG-2026-56857","url":"https://osv.dev/vulnerability/BIT-GOLANG-2026-56857","licence":"Apache-2.0","modified":"2026-10-16T09:55:42.275Z"}],"updatedAt":"2026-11-25T22:59:43.258Z","epss":{"score":0.00553,"percentile":0.47603,"date":"2026-12-01T12:00:22.000Z"}}