CVE-2026-56857 (GCVE-0-2026-56857)

Vulnerability from cvelistv5 – Published: 2026-10-08 22:53 – Updated: 2026-10-09 15:36
VLAI
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).
SSVC
Exploitation: none Automatable: yes Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-10-09 15:35 UTC
CWE
  • CWE-1386 - Insecure Operation on Windows Junction / Mount Point
Assigner
Go CNA under the Google root
CNA scorecard E 42/100 over 56 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Go standard library os Affected: 0 , < 1.26.9 (semver)
Affected: 1.27.0-0 , < 1.27.2 (semver)
guessed Create a notification for this product.
Go standard library internal/syscall/windows Affected: 0 , < 1.26.9 (semver)
Affected: 1.27.0-0 , < 1.27.2 (semver)
guessed 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": {
    "epss": {
      "cve": "CVE-2026-56857",
      "date": "2026-11-20",
      "epss": "0.00553",
      "percentile": "0.47125"
    },
    "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": {
        "affected": [
          {
            "affectedData": [
              {
                "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"
                  }
                ]
              }
            ],
            "source": "security@golang.org"
          }
        ],
        "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)."
          }
        ],
        "id": "CVE-2026-56857",
        "lastModified": "2026-10-09T16:35:35.900",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "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"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 5.9,
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2026-56857",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "yes"
                  },
                  {
                    "technicalImpact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-09T15:35:58.663117Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2026-10-08T23:17:01.487",
        "references": [
          {
            "source": "security@golang.org",
            "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"
          }
        ],
        "sourceIdentifier": "security@golang.org",
        "vulnStatus": "Awaiting Analysis",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-1386"
              }
            ],
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "type": "Secondary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-11-21T11:51:58+00:00",
      "cve": "CVE-2026-56857",
      "id": "CVE-2026-56857",
      "initial_release_date": "2026-10-08T22:53:58.387000+00:00",
      "product_status:fixed": "80",
      "product_status:known_affected": "303",
      "product_status:known_not_affected": "48",
      "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"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-10-22T23:58:31Z",
      "cve": "CVE-2026-56857",
      "id": "CVE-2026-56857",
      "initial_release_date": "2026-10-10T01:18:08Z",
      "product_status:known_affected": "73",
      "product_status:known_not_affected": "220",
      "product_status:recommended": "162",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-56857",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-56857.json",
      "version": "3"
    },
    "vulnrichment": {
      "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:35:52.818Z",
              "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"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.