CVE-2025-22873
Improper access to parent directory of root in os
- State
- Published
- Severity
- 3.8 Low
- Published
- Feb 4, 2026
- Updated
- Feb 5, 2026
- Reserved
- Jan 8, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 3.8 Low | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N | CISA-ADP |
Weaknesses
- CWE-23 Relative Path Traversal
Affected Products
| Product | Versions |
|---|---|
osGo standard library |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.