GO-2026-4403

Source
https://pkg.go.dev/vuln/GO-2026-4403
Import Source
https://vuln.go.dev/ID/GO-2026-4403.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-4403
Aliases
Published
2026-02-04T22:42:26Z
Modified
2026-02-06T09:40:56.765821Z
Summary
Improper access to parent directory of root in os
Details

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.

Database specific
{
    "url": "https://pkg.go.dev/vuln/GO-2026-4403",
    "review_status": "REVIEWED"
}
References
Credits
    • Dan Sebastian Thrane of SDU eScience Center

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.23.9
Introduced
1.24.0-0
Fixed
1.24.3

Ecosystem specific

{
    "imports": [
        {
            "symbols": [
                "checkPathEscapesInternal",
                "doInRoot",
                "splitPathInRoot"
            ],
            "path": "os"
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-4403.json"