{"dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": {"cveId": "CVE-2026-56857", "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc", "state": "PUBLISHED", "assignerShortName": "Go", "dateReserved": "2026-06-23T15:10:49.353Z", "datePublished": "2026-10-08T22:53:58.387Z", "dateUpdated": "2026-10-09T15:36:01.712Z"}, "containers": {"cna": {"providerMetadata": {"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc", "shortName": "Go", "dateUpdated": "2026-10-08T22:53:58.387Z"}, "title": "Root.Mkdir(All) can follow junctions out of the root on Windows in os", "descriptions": [{"lang": "en", "value": "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)."}], "affected": [{"vendor": "Go standard library", "product": "os", "collectionURL": "https://pkg.go.dev", "packageName": "os", "versions": [{"version": "0", "lessThan": "1.26.9", "status": "affected", "versionType": "semver"}, {"version": "1.27.0-0", "lessThan": "1.27.2", "status": "affected", "versionType": "semver"}], "platforms": ["windows"], "programRoutines": [{"name": "Root.Mkdir"}, {"name": "doInRoot"}, {"name": "rootMkdirAll"}, {"name": "Root.Chmod"}, {"name": "Root.Chown"}, {"name": "Root.Chtimes"}, {"name": "Root.Lchown"}, {"name": "Root.Link"}, {"name": "Root.MkdirAll"}, {"name": "Root.Remove"}, {"name": "Root.RemoveAll"}, {"name": "Root.Rename"}, {"name": "Root.Symlink"}], "defaultStatus": "unaffected"}, {"vendor": "Go standard library", "product": "internal/syscall/windows", "collectionURL": "https://pkg.go.dev", "packageName": "internal/syscall/windows", "versions": [{"version": "0", "lessThan": "1.26.9", "status": "affected", "versionType": "semver"}, {"version": "1.27.0-0", "lessThan": "1.27.2", "status": "affected", "versionType": "semver"}], "platforms": ["windows"], "programRoutines": [{"name": "Mkdirat"}], "defaultStatus": "unaffected"}], "problemTypes": [{"descriptions": [{"lang": "en", "description": "CWE-1386: Insecure Operation on Windows Junction / Mount Point"}]}], "references": [{"url": "https://go.dev/cl/847305"}, {"url": "https://go.dev/issue/81739"}, {"url": "https://groups.google.com/g/golang-announce/c/U2fTuyDJznI"}, {"url": "https://pkg.go.dev/vuln/GO-2026-6604"}], "credits": [{"lang": "en", "value": "Daniele Ballarini"}], "x_gcve": [{"vulnId": "CVE-2026-56857", "recordType": "advisory"}]}, "adp": [{"problemTypes": [{"descriptions": [{"type": "CWE", "cweId": "CWE-1386", "lang": "en", "description": "CWE-1386 Insecure Operation on Windows Junction / Mount Point"}]}], "metrics": [{"cvssV3_1": {"scope": "UNCHANGED", "version": "3.1", "baseScore": 9.8, "attackVector": "NETWORK", "baseSeverity": "CRITICAL", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "NONE", "confidentialityImpact": "HIGH"}}, {"other": {"type": "ssvc", "content": {"timestamp": "2026-10-09T15:35:58.663117Z", "id": "CVE-2026-56857", "options": [{"Exploitation": "none"}, {"Automatable": "yes"}, {"Technical Impact": "total"}], "role": "CISA Coordinator", "version": "2.0.3"}}}], "title": "CISA ADP Vulnrichment", "providerMetadata": {"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-10-09T15:36:01.712Z"}}]}, "vulnerability-lookup:meta": {"epss": {"cve": "CVE-2026-56857", "date": "2026-10-27", "epss": "0.00553", "percentile": "0.46025"}, "microsoft_vex": {"current_release_date": "2026-10-16T01:51:20.000Z", "cve": "CVE-2026-56857", "id": "msrc_CVE-2026-56857", "initial_release_date": "2026-10-11T01:54:56.000Z", "product_status:known_not_affected": "2", "source": "Microsoft CSAF VEX", "status": "final", "title": "Root.Mkdir(All) can follow junctions out of the root on Windows in os", "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-56857.json", "version": "3"}, "nvd": "{\"cve\":{\"id\":\"CVE-2026-56857\",\"sourceIdentifier\":\"security@golang.org\",\"published\":\"2026-10-08T23:17:01.487\",\"lastModified\":\"2026-10-09T16:35:35.900\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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).\"}],\"affected\":[{\"source\":\"security@golang.org\",\"affectedData\":[{\"vendor\":\"Go standard library\",\"product\":\"os\",\"defaultStatus\":\"unaffected\",\"collectionURL\":\"https://pkg.go.dev\",\"packageName\":\"os\",\"platforms\":[\"windows\"],\"programRoutines\":[{\"name\":\"Root.Mkdir\"},{\"name\":\"doInRoot\"},{\"name\":\"rootMkdirAll\"},{\"name\":\"Root.Chmod\"},{\"name\":\"Root.Chown\"},{\"name\":\"Root.Chtimes\"},{\"name\":\"Root.Lchown\"},{\"name\":\"Root.Link\"},{\"name\":\"Root.MkdirAll\"},{\"name\":\"Root.Remove\"},{\"name\":\"Root.RemoveAll\"},{\"name\":\"Root.Rename\"},{\"name\":\"Root.Symlink\"}],\"versions\":[{\"version\":\"0\",\"lessThan\":\"1.26.9\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"1.27.0-0\",\"lessThan\":\"1.27.2\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"Go standard library\",\"product\":\"internal/syscall/windows\",\"defaultStatus\":\"unaffected\",\"collectionURL\":\"https://pkg.go.dev\",\"packageName\":\"internal/syscall/windows\",\"platforms\":[\"windows\"],\"programRoutines\":[{\"name\":\"Mkdirat\"}],\"versions\":[{\"version\":\"0\",\"lessThan\":\"1.26.9\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"1.27.0-0\",\"lessThan\":\"1.27.2\",\"versionType\":\"semver\",\"status\":\"affected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":9.8,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":5.9}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2026-10-09T15:35:58.663117Z\",\"id\":\"CVE-2026-56857\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"yes\"},{\"technicalImpact\":\"total\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-1386\"}]}],\"references\":[{\"url\":\"https://go.dev/cl/847305\",\"source\":\"security@golang.org\"},{\"url\":\"https://go.dev/issue/81739\",\"source\":\"security@golang.org\"},{\"url\":\"https://groups.google.com/g/golang-announce/c/U2fTuyDJznI\",\"source\":\"security@golang.org\"},{\"url\":\"https://pkg.go.dev/vuln/GO-2026-6604\",\"source\":\"security@golang.org\"}]}}", "redhat_vex": {"aggregate_severity": "Low", "current_release_date": "2026-10-23T00:38:12+00:00", "cve": "CVE-2026-56857", "id": "CVE-2026-56857", "initial_release_date": "2026-10-08T22:53:58.387000+00:00", "product_status:known_affected": "105", "product_status:known_not_affected": "74", "source": "Red Hat CSAF VEX", "status": "final", "title": "os: golang: golang: Directory traversal via Windows junction handling", "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-56857.json", "version": "3"}, "vulnrichment": {"containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 9.8, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"HIGH\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-56857\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-09T15:35:58.663117Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-1386\", \"description\": \"CWE-1386 Insecure Operation on Windows Junction / Mount Point\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-09T15:35:52.818Z\"}}], \"cna\": {\"title\": \"Root.Mkdir(All) can follow junctions out of the root on Windows in os\", \"credits\": [{\"lang\": \"en\", \"value\": \"Daniele Ballarini\"}], \"affected\": [{\"vendor\": \"Go standard library\", \"product\": \"os\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"1.26.9\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"1.27.0-0\", \"lessThan\": \"1.27.2\", \"versionType\": \"semver\"}], \"platforms\": [\"windows\"], \"packageName\": \"os\", \"collectionURL\": \"https://pkg.go.dev\", \"defaultStatus\": \"unaffected\", \"programRoutines\": [{\"name\": \"Root.Mkdir\"}, {\"name\": \"doInRoot\"}, {\"name\": \"rootMkdirAll\"}, {\"name\": \"Root.Chmod\"}, {\"name\": \"Root.Chown\"}, {\"name\": \"Root.Chtimes\"}, {\"name\": \"Root.Lchown\"}, {\"name\": \"Root.Link\"}, {\"name\": \"Root.MkdirAll\"}, {\"name\": \"Root.Remove\"}, {\"name\": \"Root.RemoveAll\"}, {\"name\": \"Root.Rename\"}, {\"name\": \"Root.Symlink\"}]}, {\"vendor\": \"Go standard library\", \"product\": \"internal/syscall/windows\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"1.26.9\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"1.27.0-0\", \"lessThan\": \"1.27.2\", \"versionType\": \"semver\"}], \"platforms\": [\"windows\"], \"packageName\": \"internal/syscall/windows\", \"collectionURL\": \"https://pkg.go.dev\", \"defaultStatus\": \"unaffected\", \"programRoutines\": [{\"name\": \"Mkdirat\"}]}], \"references\": [{\"url\": \"https://go.dev/cl/847305\"}, {\"url\": \"https://go.dev/issue/81739\"}, {\"url\": \"https://groups.google.com/g/golang-announce/c/U2fTuyDJznI\"}, {\"url\": \"https://pkg.go.dev/vuln/GO-2026-6604\"}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"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).\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"description\": \"CWE-1386: Insecure Operation on Windows Junction / Mount Point\"}]}], \"providerMetadata\": {\"orgId\": \"1bb62c36-49e3-4200-9d77-64a1400537cc\", \"shortName\": \"Go\", \"dateUpdated\": \"2026-10-08T22:53:58.387Z\"}}}", "cveMetadata": "{\"cveId\": \"CVE-2026-56857\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-09T15:36:01.712Z\", \"dateReserved\": \"2026-06-23T15:10:49.353Z\", \"assignerOrgId\": \"1bb62c36-49e3-4200-9d77-64a1400537cc\", \"datePublished\": \"2026-10-08T22:53:58.387Z\", \"assignerShortName\": \"Go\"}", "dataType": "CVE_RECORD", "dataVersion": "5.2"}}}
