| { |
| "schema_version": "1.3.1", |
| "id": "GO-2026-4403", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "0001-01-01T00:00:00Z", |
| "aliases": [ |
| "CVE-2025-22873" |
| ], |
| "summary": "Improper access to parent directory of root in os", |
| "details": "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": [ |
| { |
| "package": { |
| "name": "stdlib", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0" |
| }, |
| { |
| "fixed": "1.23.9" |
| }, |
| { |
| "introduced": "1.24.0-0" |
| }, |
| { |
| "fixed": "1.24.3" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "os", |
| "symbols": [ |
| "checkPathEscapesInternal", |
| "doInRoot", |
| "splitPathInRoot" |
| ] |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "FIX", |
| "url": "https://go.dev/cl/670036" |
| }, |
| { |
| "type": "REPORT", |
| "url": "https://go.dev/issue/73555" |
| }, |
| { |
| "type": "WEB", |
| "url": "https://groups.google.com/g/golang-announce/c/UZoIkUT367A/m/5WDxKizJAQAJ" |
| } |
| ], |
| "credits": [ |
| { |
| "name": "Dan Sebastian Thrane of SDU eScience Center" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2026-4403", |
| "review_status": "REVIEWED" |
| } |
| } |