CVEvulnerability
CVE-2025-22873
3.8 LOW
Official page ↗
- Status
- Analyzed
- Published
- 2026-02-04
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 3.8 LOW — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
- Weaknesses
- CWE-23
Description
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 configurations
• golang go (< 1.23.9)
• golang go (>= 1.24.0 < 1.24.3)
Related
Weakness · CWE (1)
- CWE-23 Relative Path Traversal weakness
References
- 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