Vulnerability 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.
CVSS Score
LOW
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Golang | Go | < 1.23.9 |
Related Weaknesses (CWE)
References
- https://go.dev/cl/670036PatchProduct
- https://go.dev/issue/73555Issue TrackingVendor Advisory
- https://groups.google.com/g/golang-announce/c/UZoIkUT367A/m/5WDxKizJAQAJMailing ListRelease Notes
- https://pkg.go.dev/vuln/GO-2026-4403Vendor AdvisoryIssue Tracking
- http://www.openwall.com/lists/oss-security/2025/05/06/2Mailing ListThird Party Advisory
FAQ
What is CVE-2025-22873?
CVE-2025-22873 is a vulnerability with a CVSS score of 3.8 (LOW). 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 on...
How severe is CVE-2025-22873?
CVE-2025-22873 has been rated LOW with a CVSS base score of 3.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-22873?
Check the references section above for vendor advisories and patch information. Affected products include: Golang Go.