{"id":"CVE-2025-22873","aliases":["CVE-2025-22873","GO-2026-4403","BIT-GOLANG-2025-22873"],"related":["CGA-hm3h-gpf5-pcpj","RHSA-2026:7291","RHSA-2026:7385"],"kind":"vulnerability","state":"published","title":"Improper access to parent directory of root in os","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-02-04T22:42:26.000Z","modified":"2026-11-19T17:48:00.663Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","score":3.8,"rating":"LOW"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","score":3.8,"rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"LOW"}],"cwes":["CWE-23"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.23.9","status":"affected"},{"type":"semver","introduced":"1.24.0-0","fixed":"1.24.3","status":"affected"}],"vendor":"Go standard library","product":"os","package":"os","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.23.9"},{"type":"semver","introduced":"1.24.0-0","status":"affected","fixed":"1.24.3"}],"ecosystem":"Go","package":"stdlib","purl":"pkg:golang/stdlib","source":"go"},{"ranges":[{"status":"affected","introduced":"1.24.0","fixed":"1.24.3"}],"vendor":"golang","product":"go","cpe":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.23.9"},{"type":"semver","introduced":"1.24.0-0","status":"affected","fixed":"1.24.3"}],"ecosystem":"Bitnami","package":"golang","purl":"pkg:bitnami/golang","source":"bitnami"}],"references":[{"url":"https://go.dev/cl/670036","tags":["fix","patch","product"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://go.dev/issue/73555","tags":["advisory","issue-tracking","report","vendor-advisory"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://groups.google.com/g/golang-announce/c/UZoIkUT367A/m/5WDxKizJAQAJ","tags":["discussion","mailing-list","release-notes","web"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://pkg.go.dev/vuln/GO-2026-4403","tags":["advisory","issue-tracking","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2025/05/06/2","tags":["advisory","mailing-list","third-party-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22873","tags":["web"],"sources":["bitnami"]}],"credits":["Dan Sebastian Thrane of SDU eScience Center"],"assigner":"Go","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-02-05T15:03:11.291Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-22873","url":"https://www.cve.org/CVERecord?id=CVE-2025-22873","licence":"CVE Terms of Use","modified":"2026-02-05T15:03:55.451Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4403","url":"https://pkg.go.dev/vuln/GO-2026-4403","licence":"CC-BY-4.0","modified":"2026-05-15T10:59:22.074Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-22873","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22873","licence":"Public domain","modified":"2026-11-19T17:48:00.663Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GOLANG-2025-22873","url":"https://osv.dev/vulnerability/BIT-GOLANG-2025-22873","licence":"Apache-2.0","modified":"2026-09-08T08:47:49.666Z"}],"updatedAt":"2026-11-25T22:59:11.053Z","epss":{"score":0.00214,"percentile":0.06689,"date":"2026-11-30T12:00:22.000Z"}}