VulnerabilityAnalyzed
CVE-2025-22873
It was possible to improperly access the parent directory of an os.Root by opening a filename ending in "../".
LOW 3.8EPSS 0.24%
Does this matter?
Lower severity and a low EPSS score (0.24%). Track it; it rarely justifies an emergency change on its own.
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 3.1
- 3.8 LOWCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
- EPSS
- 0.24% probability · 15th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-23
- Affected
- golang/go
- Source
- security@golang.org
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
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.