CVE-2025-22873
3.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Go standard library | os | 0 < 1.23.9 | affected |
| Go standard library | os | 1.24.0-0 < 1.24.3 | affected |
Weaknesses
- CWE-23: Relative Path Traversal
ADP Enrichment
CVE Program Container
Additional References
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
References
- https://go.dev/cl/670036
- https://go.dev/issue/73555
- https://groups.google.com/g/golang-announce/c/UZoIkUT367A/m/5WDxKizJAQAJ
- https://pkg.go.dev/vuln/GO-2026-4403
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.