CVE-2025-22873It was possible to improperly access the parent directory of an os.Root by opening a filename ending in "../".
Updated under an hour ago ()
Does this affect you?
It affects golang go. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.8 LOW (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
- Weakness (CWE)
- CWE-23
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Not given
- NVD analysis
- Analyzed
- Record last updated
- Jun 17, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
golang go golang:go | before 1.23.9; from 1.24.0 before 1.24.3 | NVD |
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
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.