{"id":"CVE-2025-22873","state":"PUBLISHED","title":"Improper access to parent directory of root in os","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.","publishedAt":"2026-02-04T23:05:24.803Z","updatedAt":"2026-02-05T15:03:55.451Z","severity":{"score":3.8,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","source":"CISA-ADP"},"assigner":"Go","products":["Go standard library os"],"affected":[{"vendor":"Go standard library","product":"os","packageName":"os","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.23.9","versionType":"semver"},{"version":"1.24.0-0","status":"affected","lessThan":"1.24.3","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","programRoutines":[{"name":"splitPathInRoot"},{"name":"checkPathEscapesInternal"},{"name":"doInRoot"}]}],"references":["https://go.dev/cl/670036","https://go.dev/issue/73555","https://groups.google.com/g/golang-announce/c/UZoIkUT367A/m/5WDxKizJAQAJ","https://pkg.go.dev/vuln/GO-2026-4403","http://www.openwall.com/lists/oss-security/2025/05/06/2"],"weaknesses":["CWE-23"],"ingestedAt":"2026-10-29T20:08:39.238Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/22xxx/CVE-2025-22873.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-22873","state":"PUBLISHED","datePublished":"2026-02-04T23:05:24.803Z","dateUpdated":"2026-02-05T15:03:55.451Z","assignerShortName":"Go","assignerOrgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateReserved":"2025-01-08T19:11:42.835Z"},"containers":{"cna":{"title":"Improper access to parent directory of root in os","descriptions":[{"lang":"en","value":"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":[{"vendor":"Go standard library","product":"os","packageName":"os","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.23.9","versionType":"semver"},{"version":"1.24.0-0","status":"affected","lessThan":"1.24.3","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","programRoutines":[{"name":"splitPathInRoot"},{"name":"checkPathEscapesInternal"},{"name":"doInRoot"}]}],"references":[{"url":"https://go.dev/cl/670036"},{"url":"https://go.dev/issue/73555"},{"url":"https://groups.google.com/g/golang-announce/c/UZoIkUT367A/m/5WDxKizJAQAJ"},{"url":"https://pkg.go.dev/vuln/GO-2026-4403"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-23: Relative Path Traversal"}]}],"providerMetadata":{"shortName":"Go","orgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateUpdated":"2026-02-04T23:05:24.803Z"},"credits":[{"lang":"en","value":"Dan Sebastian Thrane of SDU eScience Center"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2025/05/06/2"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-02-04T23:08:02.625Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"CHANGED","version":"3.1","baseScore":3.8,"attackVector":"LOCAL","baseSeverity":"LOW","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-02-05T15:03:11.291122Z","id":"CVE-2025-22873","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-23","type":"CWE","lang":"en","description":"CWE-23 Relative Path Traversal"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-05T15:03:55.451Z"}}]}}}