It was possible to improperly access the parent directory of an os.Root by opening a filename ending in "../". For example, Root.Open("../") would open the parent directory of the Root. This escape only permits opening the parent directory itself, not ancestors of the parent or files contained within the parent.
{
"unresolved_ranges": [
{
"extracted_events": [
{
"fixed": "1.23.9"
},
{
"introduced": "1.24.0-0"
},
{
"fixed": "1.24.3"
}
],
"source": "AFFECTED_FIELD"
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22873.json",
"cna_assigner": "Go"
}{
"cpe": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "1.23.9"
},
{
"introduced": "1.24.0"
},
{
"fixed": "1.24.3"
}
],
"source": "CPE_RANGE"
}