CVE-2023-45283
Insecure parsing of Windows paths with a \??\ prefix in path/filepath
The filepath package does not recognize paths with a \??\ prefix as special. On Windows, a path beginning with \??\ is a Root Local Device path equivalent to a path beginning with \\?\. Paths with a \??\ prefix may be used to access arbitrary locations on the system. For example, the path \??\c:\x is equivalent to the more common path c:\x. Before fix, Clean could convert a rooted path such as \a\..\??\b into the root local device path \??\b. Clean will now convert this to .\??\b. Similarly, Join(\, ??, b) could convert a seemingly innocent sequence of path elements into the root local device path \??\b. Join will now convert this to \.\??\b. In addition, with fix, IsAbs now correctly reports paths beginning with \??\ as absolute, and VolumeName correctly reports the \??\ prefix as a volume name. UPDATE: Go 1.20.11 and Go 1.21.4 inadvertently changed the definition of the volume name in Windows paths starting with \?, resulting in filepath.Clean(\?\c:) returning \?\c: rather than \?\c:\ (among other effects). The previous behavior has been restored.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 3.345% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:37.302Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:39.236Z | OSV |
| affected | verified | 2026-11-19T12:56:59.635Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:56:59.635Z | CVE Program |
Affected versions and configuration
Go standard library path/filepath (windows); default status: unaffected: 0 to < 1.20.11 [affected; scheme: semver]; 1.21.0-0 to < 1.21.4 [affected; scheme: semver] Go standard library internal/safefilepath (windows); default status: unaffected: 0 to < 1.20.11 [affected; scheme: semver]; 1.21.0-0 to < 1.21.4 [affected; scheme: semver] Go standard library path/filepath (windows); default status: unaffected: 1.20.11 to < 1.20.12 [affected; scheme: semver]; 1.21.4 to < 1.21.5 [affected; scheme: semver]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "Go standard library",
"product": "path/filepath",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "1.20.11",
"versionType": "semver"
},
{
"status": "affected",
"version": "1.21.0-0",
"lessThan": "1.21.4",
"versionType": "semver"
}
],
"platforms": [
"windows"
],
"packageName": "path/filepath",
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "Clean"
},
{
"name": "volumeNameLen"
},
{
"name": "join"
},
{
"name": "Abs"
},
{
"name": "Base"
},
{
"name": "Dir"
},
{
"name": "EvalSymlinks"
},
{
"name": "Glob"
},
{
"name": "IsLocal"
},
{
"name": "Join"
},
{
"name": "Rel"
},
{
"name": "Split"
},
{
"name": "VolumeName"
},
{
"name": "Walk"
},
{
"name": "WalkDir"
}
]
},
{
"vendor": "Go standard library",
"product": "internal/safefilepath",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "1.20.11",
"versionType": "semver"
},
{
"status": "affected",
"version": "1.21.0-0",
"lessThan": "1.21.4",
"versionType": "semver"
}
],
"platforms": [
"windows"
],
"packageName": "internal/safefilepath",
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "fromFS"
},
{
"name": "FromFS"
}
]
},
{
"vendor": "Go standard library",
"product": "path/filepath",
"versions": [
{
"status": "affected",
"version": "1.20.11",
"lessThan": "1.20.12",
"versionType": "semver"
},
{
"status": "affected",
"version": "1.21.4",
"lessThan": "1.21.5",
"versionType": "semver"
}
],
"platforms": [
"windows"
],
"packageName": "path/filepath",
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "volumeNameLen"
},
{
"name": "Abs"
},
{
"name": "Base"
},
{
"name": "Clean"
},
{
"name": "Dir"
},
{
"name": "EvalSymlinks"
},
{
"name": "Glob"
},
{
"name": "IsLocal"
},
{
"name": "Join"
},
{
"name": "Rel"
},
{
"name": "Split"
},
{
"name": "VolumeName"
},
{
"name": "Walk"
},
{
"name": "WalkDir"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://go.dev/issue/63713",
"tags": [
"x_transferred"
]
},
{
"url": "https://go.dev/cl/540277",
"tags": [
"x_transferred"
]
},
{
"url": "https://groups.google.com/g/golang-announce/c/4tU8LZfBFkY",
"tags": [
"x_transferred"
]
},
{
"url": "https://go.dev/issue/64028",
"tags": [
"x_transferred"
]
},
{
"url": "https://go.dev/cl/541175",
"tags": [
"x_transferred"
]
},
{
"url": "https://groups.google.com/g/golang-dev/c/6ypN5EjibjM/m/KmLVYH_uAgAJ",
"tags": [
"x_transferred"
]
},
{
"url": "https://pkg.go.dev/vuln/GO-2023-2185",
"tags": [
"x_transferred"
]
},
{
"url": "http://www.openwall.com/lists/oss-security/2023/12/05/2",
"tags": [
"x_transferred"
]
},
{
"url": "https://security.netapp.com/advisory/ntap-20231214-0008/",
"tags": [
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-02T20:21:15.278Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GO-2023-2185",
"aliases": [
"BIT-golang-2023-45283",
"CVE-2023-45283"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.20.11"
},
{
"introduced": "1.21.0-0"
},
{
"fixed": "1.21.4"
}
]
}
],
"package": {
"name": "stdlib",
"purl": "pkg:golang/stdlib",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2023-2185.json"
},
"ecosystem_specific": {
"imports": [
{
"goos": [
"windows"
],
"path": "path/filepath",
"symbols": [
"Abs",
"Base",
"Clean",
"Dir",
"EvalSymlinks",
"Glob",
"IsLocal",
"Join",
"Rel",
"Split",
"VolumeName",
"Walk",
"WalkDir",
"join",
"volumeNameLen"
]
},
{
"goos": [
"windows"
],
"path": "internal/safefilepath",
"symbols": [
"FromFS",
"fromFS"
]
}
]
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.20.11"
},
{
"fixed": "1.20.12"
},
{
"introduced": "1.21.4"
},
{
"fixed": "1.21.5"
}
]
}
],
"package": {
"name": "stdlib",
"purl": "pkg:golang/stdlib",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2023-2185.json"
},
"ecosystem_specific": {
"imports": [
{
"goos": [
"windows"
],
"path": "path/filepath",
"symbols": [
"Abs",
"Base",
"Clean",
"Dir",
"EvalSymlinks",
"Glob",
"IsLocal",
"Join",
"Rel",
"Split",
"VolumeName",
"Walk",
"WalkDir",
"volumeNameLen"
]
}
]
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://go.dev/issue/63713",
"type": "REPORT"
},
{
"url": "https://go.dev/cl/540277",
"type": "FIX"
},
{
"url": "https://groups.google.com/g/golang-announce/c/4tU8LZfBFkY",
"type": "WEB"
},
{
"url": "https://go.dev/issue/64028",
"type": "REPORT"
},
{
"url": "https://go.dev/cl/541175",
"type": "FIX"
},
{
"url": "https://groups.google.com/g/golang-dev/c/6ypN5EjibjM/m/KmLVYH_uAgAJ",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2023-2185",
"review_status": "REVIEWED"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Go / package | stdlib | Not a distribution channel | 1.20.11 | Official record |
| ecosystem-boundary | Go / package | stdlib | Not a distribution channel | 1.21.4 | Official record |
| ecosystem-boundary | Go / package | stdlib | Not a distribution channel | 1.20.12 | Official record |
| ecosystem-boundary | Go / package | stdlib | Not a distribution channel | 1.21.5 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:39.236ZArchived source JSON
Source publication: 2023-11-08T22:42:14.000Z
Source modification: 2026-02-04T02:59:25.590ZDocument fingerprint
4ca7818b395ba1078372d8aa5d2c3c1d10796ecab94cc944cbdcb6a19ce4ed17 - CVE ProgramConsulted: 2026-11-19T12:56:59.635ZArchived source JSON
Source publication: 2023-11-09T16:30:12.395Z
Source modification: 2025-02-13T17:13:59.471ZDocument fingerprint
9913df44a625672ba6b369b0ef253e7b2ac219e7b62e04e98f67c6ac5b7b269c - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:37.302ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
47ced1842f8555a6bd6a9a9bb2689186703c6b59d6171348cfb2ef3265abf8ed
Official status history
- UNKNOWN → PUBLISHED · · evidence