{"id":"CVE-2022-41722","aliases":["CVE-2022-41722","GO-2023-1568","BIT-GOLANG-2022-41722"],"related":["CGA-725c-vc33-7hwf"],"kind":"vulnerability","state":"published","title":"Path traversal on Windows in path/filepath","summary":"A path traversal vulnerability exists in filepath.Clean on Windows. On Windows, the filepath.Clean function could transform an invalid path such as \"a/../c:/b\" into the valid path \"c:\\b\". This transformation of a relative (if invalid) path into an absolute path could enable a directory traversal attack. After fix, the filepath.Clean function transforms this path into the relative (but still invalid) path \".\\c:\\b\".","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A path traversal vulnerability exists in filepath.Clean on Windows. On Windows, the filepath.Clean function could transform an invalid path such as \"a/../c:/b\" into the valid path \"c:\\b\". This transformation of a relative (if invalid) path into an absolute path could enable a directory traversal attack. After fix, the filepath.Clean function transforms this path into the relative (but still invalid) path \".\\c:\\b\".","source":"cvelist"}],"published":"2023-02-16T19:49:19.000Z","modified":"2026-09-08T08:47:48.422Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.19.6","status":"affected"},{"type":"semver","introduced":"1.20.0-0","fixed":"1.20.1","status":"affected"}],"vendor":"Go standard library","product":"path/filepath","package":"path/filepath","platforms":["windows"],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.19.6"},{"type":"semver","introduced":"1.20.0-0","status":"affected","fixed":"1.20.1"}],"ecosystem":"Go","package":"stdlib","purl":"pkg:golang/stdlib","source":"go"},{"ranges":[{"status":"affected","fixed":"1.19.6"},{"status":"affected","version":"1.20.0"}],"vendor":"golang","product":"go","cpe":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.19.6"},{"type":"semver","introduced":"1.20.0","status":"affected","fixed":"1.20.1"}],"ecosystem":"Bitnami","package":"golang","purl":"pkg:bitnami/golang","source":"bitnami"}],"references":[{"url":"https://go.dev/issue/57274","tags":["issue-tracking","report","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://go.dev/cl/468123","tags":["fix","issue-tracking","report","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://groups.google.com/g/golang-announce/c/V0aBFqaFs_E","tags":["advisory","mailing-list","vendor-advisory","web","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://pkg.go.dev/vuln/GO-2023-1568","tags":["advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41722","tags":["web"],"sources":["bitnami"]}],"credits":["RyotaK (https://ryotak.net)"],"assigner":"Go","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-03-07T17:58:38.218Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-41722","url":"https://www.cve.org/CVERecord?id=CVE-2022-41722","licence":"CVE Terms of Use","modified":"2025-03-07T17:58:57.055Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2023-1568","url":"https://pkg.go.dev/vuln/GO-2023-1568","licence":"CC-BY-4.0","modified":"2026-02-04T02:54:08.789Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-41722","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41722","licence":"Public domain","modified":"2026-06-17T05:03:42.790Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GOLANG-2022-41722","url":"https://osv.dev/vulnerability/BIT-GOLANG-2022-41722","licence":"Apache-2.0","modified":"2026-09-08T08:47:48.422Z"}],"updatedAt":"2026-11-25T22:58:18.763Z","epss":{"score":0.01678,"percentile":0.77624,"date":"2026-12-02T12:00:21.000Z"}}