CVE-2026-56857 (GCVE-0-2026-56857)
Vulnerability from cvelistv5
Published
2026-10-08 22:53
Modified
2026-10-09 15:36
Severity ?
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).
Impacted products
Vendor Product Version
Go standard library os Version: 0   ≤
Version: 1.27.0-0   ≤
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 9.8,
              "baseSeverity": "CRITICAL",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2026-56857",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-09T15:35:58.663117Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-1386",
                "description": "CWE-1386 Insecure Operation on Windows Junction / Mount Point",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-09T15:36:01.712Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://pkg.go.dev",
          "defaultStatus": "unaffected",
          "packageName": "os",
          "platforms": [
            "windows"
          ],
          "product": "os",
          "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",
          "versions": [
            {
              "lessThan": "1.26.9",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThan": "1.27.2",
              "status": "affected",
              "version": "1.27.0-0",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://pkg.go.dev",
          "defaultStatus": "unaffected",
          "packageName": "internal/syscall/windows",
          "platforms": [
            "windows"
          ],
          "product": "internal/syscall/windows",
          "programRoutines": [
            {
              "name": "Mkdirat"
            }
          ],
          "vendor": "Go standard library",
          "versions": [
            {
              "lessThan": "1.26.9",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThan": "1.27.2",
              "status": "affected",
              "version": "1.27.0-0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "Daniele Ballarini"
        }
      ],
      "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": [
            {
              "description": "CWE-1386: Insecure Operation on Windows Junction / Mount Point",
              "lang": "en"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-08T22:53:58.387Z",
        "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "shortName": "Go"
      },
      "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"
        }
      ],
      "title": "Root.Mkdir(All) can follow junctions out of the root on Windows in os"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
    "assignerShortName": "Go",
    "cveId": "CVE-2026-56857",
    "datePublished": "2026-10-08T22:53:58.387Z",
    "dateReserved": "2026-06-23T15:10:49.353Z",
    "dateUpdated": "2026-10-09T15:36:01.712Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "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"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…