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 Issue Tracking Vendor Advisory
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

17 Jun 2026, 08:50

Type Values Removed Values Added
References () https://pkg.go.dev/vuln/GO-2026-4403 - Vendor Advisory, Issue Tracking () https://pkg.go.dev/vuln/GO-2026-4403 - Issue Tracking, Vendor Advisory
Summary
  • (es) Fue posible acceder de forma indebida al directorio padre de un os.Root al abrir un nombre de archivo que termina en '../'. Por ejemplo, Root.Open('../') abriría el directorio padre del Root. Este escape solo permite abrir el propio directorio padre, no los ancestros del padre ni los archivos contenidos dentro del padre.

10 Feb 2026, 15:16

Type Values Removed Values Added
First Time Golang go
Golang
CPE cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
References () https://go.dev/cl/670036 - () https://go.dev/cl/670036 - Patch, Product
References () https://go.dev/issue/73555 - () https://go.dev/issue/73555 - Issue Tracking, Vendor Advisory
References () https://groups.google.com/g/golang-announce/c/UZoIkUT367A/m/5WDxKizJAQAJ - () https://groups.google.com/g/golang-announce/c/UZoIkUT367A/m/5WDxKizJAQAJ - Mailing List, Release Notes
References () https://pkg.go.dev/vuln/GO-2026-4403 - () https://pkg.go.dev/vuln/GO-2026-4403 - Vendor Advisory, Issue Tracking
References () http://www.openwall.com/lists/oss-security/2025/05/06/2 - () http://www.openwall.com/lists/oss-security/2025/05/06/2 - Mailing List, Third Party Advisory

05 Feb 2026, 15:16

Type Values Removed Values Added
CWE CWE-23
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 3.8

04 Feb 2026, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-04 23:15

Updated : 2026-06-17 08:50


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