CVE-2025-22873
LOW3.8EPSS 0.00%Improper access to parent directory of root in os
Published: 2/4/2026Modified: 5/15/2026
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.
Affected packages (3)
- Bitnami/golangfrom 0, < 1.23.9, >= 1.24.0-0, < 1.24.3
- Debian/golang-1.24from 0, < 1.24.4-1
- Go/stdlibfrom 0, < 1.23.9, >= 1.24.0-0, < 1.24.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | LOW3.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N |
References (7)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-22873
- PATCHhttps://go.dev/cl/670036
- REPORThttps://go.dev/issue/73555
- WEBhttps://groups.google.com/g/golang-announce/c/UZoIkUT367A/m/5WDxKizJAQAJ
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2025-22873
- WEBhttps://pkg.go.dev/vuln/GO-2026-4403
- WEBhttp://www.openwall.com/lists/oss-security/2025/05/06/2