CVE-2026-56857 (GCVE-0-2026-56857)
Vulnerability from cvelistv5 – Published: 2026-10-08 22:53 – Updated: 2026-10-08 22:53
VLAI
EPSS
VEX
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).
Severity
No CVSS data available.
CWE
- CWE-1386 - Insecure Operation on Windows Junction / Mount Point
Assigner
References
Impacted products
2 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 | |
| Go standard library | internal/syscall/windows |
Affected:
0 , < 1.26.9
(semver)
Affected: 1.27.0-0 , < 1.27.2 (semver) |
guessed |
{
"containers": {
"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-08T22:53:58.387Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"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-08T23:17:01.487",
"metrics": {},
"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": "Received"
}
},
"redhat_vex": {
"aggregate_severity": "Low",
"current_release_date": "2026-10-08T23:59:05+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": "178",
"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"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
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.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
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.
Loading…