{"id":"CVE-2025-22873","published":"2026-02-04T23:05:24Z","modified":"2026-02-05T15:03:55Z","title":"Improper access to parent directory of root in os","vendor":"Go standard library","product":"os","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.8,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00233,"percentile":0.14457,"provenance":"source"},"cwes":[{"id":"CWE-23","name":"Relative Path Traversal"}],"references":[{"url":"https://go.dev/cl/670036","tags":[]},{"url":"https://go.dev/issue/73555","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/UZoIkUT367A/m/5WDxKizJAQAJ","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2026-4403","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/05/06/2","tags":[]}],"priority":{"score":5.6,"factors":[{"name":"EPSS percentile","points":2.89},{"name":"CVSS severity","points":2.66}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"os","versions":["< 1.23.9",">= 1.24.0-0, < 1.24.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-05T15:03:11.291122Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.23.9",">=1.24.0-0, <1.24.3"],"patched":["1.23.9","1.24.3"],"from":["GO-2026-4403"],"provenance":"source"}],"summary":{"text":"The flaw is a relative path traversal in the os package of the Go standard library, where a filename ending in \"../\" passed to os.Root lets it escape the root and reach its parent directory. An attacker with local access and low privileges, without needing any user interaction, can open the parent directory of an os.Root (though not its further ancestors or files within that parent) by supplying such a filename.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:06Z"},"euvd":{"id":"EUVD-2025-206863","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-22866","published":"2025-02-06","fixed":"1.24.0-rc.3","kev":false},{"cve":"CVE-2025-22870","published":"2025-03-12","fixed":"1.24.1","kev":false},{"cve":"CVE-2025-22871","published":"2025-04-08","fixed":"1.24.2","kev":false,"link":{"from":"CVE-2025-22871","to":"CVE-2025-22873","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.23.8","toFixed":"1.23.9","daysApart":302}]}},{"cve":"CVE-2025-22873","published":"2026-02-04","fixed":"1.24.3","kev":false},{"cve":"CVE-2025-0913","published":"2025-06-11","fixed":"1.24.4","kev":false},{"cve":"CVE-2025-22874","published":"2025-06-11","fixed":"1.24.4","kev":false},{"cve":"CVE-2025-4673","published":"2025-06-11","fixed":"1.24.4","kev":false}],"package":"Go:stdlib"}}