CVE-2025-22873
Last modified
CVE-2025-22873 is a low-severity vulnerability rated 3.8/10 on the CVSS scale. 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. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Golang | Go | < 1.23.9 |
| Golang | Go | >= 1.24.0, < 1.24.3 |
References
- https://go.dev/cl/670036Patch, Product
- https://go.dev/issue/73555Issue Tracking, Vendor Advisory
- https://groups.google.com/g/golang-announce/c/UZoIkUT367A/m/5WDxKizJAQAJMailing List, Release Notes
- https://pkg.go.dev/vuln/GO-2026-4403Issue Tracking, Vendor Advisory
- http://www.openwall.com/lists/oss-security/2025/05/06/2Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-22873?
How severe is CVE-2025-22873?
How do I fix CVE-2025-22873?
Are you affected by CVE-2025-22873?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
