{"id":"CVE-2025-22873","sourceIdentifier":"security@golang.org","published":"2026-02-04T23:15:54.220","lastModified":"2026-11-19T17:48:00.663","vulnStatus":"Analyzed","cveTags":[],"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."},{"lang":"es","value":"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."}],"affected":[{"source":"security@golang.org","affectedData":[{"vendor":"Go standard library","product":"os","defaultStatus":"unaffected","collectionURL":"https://pkg.go.dev","packageName":"os","programRoutines":[{"name":"splitPathInRoot"},{"name":"checkPathEscapesInternal"},{"name":"doInRoot"}],"versions":[{"version":"0","lessThan":"1.23.9","versionType":"semver","status":"affected"},{"version":"1.24.0-0","lessThan":"1.24.3","versionType":"semver","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","baseScore":3.8,"baseSeverity":"LOW","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":2.0,"impactScore":1.4}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-02-05T15:03:11.291122Z","id":"CVE-2025-22873","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-23"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","versionStartIncluding":"1.24.0","versionEndExcluding":"1.24.3","matchCriteriaId":"97948C01-99E9-49E8-84C6-0E9AFE120C80"}]}]}],"references":[{"url":"https://go.dev/cl/670036","source":"security@golang.org","tags":["Patch","Product"]},{"url":"https://go.dev/issue/73555","source":"security@golang.org","tags":["Issue Tracking","Vendor Advisory"]},{"url":"https://groups.google.com/g/golang-announce/c/UZoIkUT367A/m/5WDxKizJAQAJ","source":"security@golang.org","tags":["Mailing List","Release Notes"]},{"url":"https://pkg.go.dev/vuln/GO-2026-4403","source":"security@golang.org","tags":["Issue Tracking","Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2025/05/06/2","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"]}]}