CVE-2025-22873
Low 3.8No known exploitationFix availableTitle not yet published
Record last updated
CVSS score
3.8
Low on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
0.2%
Higher than 14% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
None
Not in the KEV catalog
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.
Weakness: CWE-23
Patching and mitigation
- Patch status
- Fix available (source: NVD (reference tagged Patch))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- go.dev (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| golang | go | from 1.24.0 before 1.24.3 | 1.24.3 | NIST NVD |
Timeline
Patch
Fix documented by NVD (reference tagged Patch)
Vendor guidance and references
- https://go.dev/cl/670036 (opens in a new tab)patch, product
- http://www.openwall.com/lists/oss-security/2025/05/06/2 (opens in a new tab)mailing list, third party advisory
- https://go.dev/issue/73555 (opens in a new tab)issue tracking, vendor advisory
- https://groups.google.com/g/golang-announce/c/UZoIkUT367A/m/5WDxKizJAQAJ (opens in a new tab)mailing list, release notes
- https://pkg.go.dev/vuln/GO-2026-4403 (opens in a new tab)issue tracking, vendor advisory