3.8low
Improper access to parent directory of root in os
- Severity
- 3.8low CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.21% (higher than 7% of CVEs)
- Published
- Last changed
- Assigned by
- Go
- Also known as
- GO-2026-4403BIT-GOLANG-2025-22873
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
| Product or package | Versions | Reported by |
|---|---|---|
| os | before 1.23.9, from 1.24.0-0 before 1.24.3 | CVE List |
| stdlib (Go) | before 1.23.9, from 1.24.0-0 before 1.24.3 | Go Vulnerability Database |
| golang go | from 1.24.0 before 1.24.3 | NVD |
| golang (Bitnami) | before 1.23.9, from 1.24.0-0 before 1.24.3 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 3.8low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N |
| Bitnami Vulnerability Database | low rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Fue posible acceder de forma indebida al directorio padre de un os.Root al abrir un nombre de archivo que termina en '../'. Por ejemplo, Root.Open('../') abrirĂa el directorio padre del Root. Este escape solo permite abrir el propio directorio padre, no los ancestros del padre ni los archivos contenidos dentro del padre.
References
| https://go.dev/cl/670036 | fix, patch, product | |
| https://go.dev/issue/73555 | advisory, issue-tracking, report, vendor-advisory | |
| https://groups.google.com/g/golang-announce/c/UZoIkUT367A/m/5WDxKizJAQAJ | discussion, mailing-list, release-notes, web | |
| https://pkg.go.dev/vuln/GO-2026-4403 | advisory, issue-tracking, vendor-advisory | |
| http://www.openwall.com/lists/oss-security/2025/05/06/2 | advisory, mailing-list, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-22873 | web | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-22873 changed 2026-02-05 | CVE Terms of Use |
| Go Vulnerability Database | GO-2026-4403 changed 2026-05-15 | CC-BY-4.0 |
| NVD | CVE-2025-22873 changed 2026-11-19 | Public domain |
| Bitnami Vulnerability Database | BIT-GOLANG-2025-22873 changed 2026-09-08 | Apache-2.0 |