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.
CVE-2025-22873
CVSS base score
3.8 (v3.1)
Severity
LOW
Attack vector
Local
Weakness
CWE-23
Last modified
November 19, 2026
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Affected products
golang go
References
- go.dev Patch, Product
- go.dev Issue Tracking, Vendor Advisory
- groups.google.com Mailing List, Release Notes
- pkg.go.dev Issue Tracking, Vendor Advisory
- www.openwall.com Mailing List, Third Party Advisory