Vulnerability Report: GO-2026-4403
- CVE-2025-22873
- Affects: os
- Published: Feb 04, 2026
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.
Affected Packages
-
PathVersionsSymbols
-
before go1.23.9, from go1.24.0-0 before go1.24.3all symbols
Aliases
References
- https://go.dev/cl/670036
- https://go.dev/issue/73555
- https://groups.google.com/g/golang-announce/c/UZoIkUT367A/m/5WDxKizJAQAJ
- https://vuln.go.dev/ID/GO-2026-4403.json
Credits
- Dan Sebastian Thrane of SDU eScience Center
Feedback
See anything missing or incorrect?
Suggest an edit to this report.