CVE-2025-22873

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.
References
Link Resource
https://go.dev/cl/670036 Patch Product
https://go.dev/issue/73555 Issue Tracking Vendor Advisory
https://groups.google.com/g/golang-announce/c/UZoIkUT367A/m/5WDxKizJAQAJ Mailing List Release Notes
https://pkg.go.dev/vuln/GO-2026-4403 Vendor Advisory Issue Tracking
http://www.openwall.com/lists/oss-security/2025/05/06/2 Mailing List Third Party Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2026-02-04 23:15

Updated : 2026-02-10 15:16


NVD link : CVE-2025-22873

Mitre link : CVE-2025-22873

CVE.ORG link : CVE-2025-22873


JSON object : View

Products Affected

golang

  • go
CWE
CWE-23

Relative Path Traversal