{"id":"CVE-2022-41722","published":"2023-02-28T17:19:41Z","modified":"2025-03-07T17:58:57Z","title":"Path traversal on Windows in path/filepath","vendor":"Go standard library","product":"path/filepath","tier":"tail","description":{"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\".","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01678,"percentile":0.77482,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/issue/57274","tags":[]},{"url":"https://go.dev/cl/468123","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/V0aBFqaFs_E","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2023-1568","tags":[]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":15.5}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"path/filepath","versions":["< 1.19.6",">= 1.20.0-0, < 1.20.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-07T17:58:38.218567Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.19.6",">=1.20.0-0, <1.20.1"],"patched":["1.19.6","1.20.1"],"from":["GO-2023-1568"],"provenance":"source"}],"summary":{"text":"A path traversal flaw exists in the filepath.Clean function of the path/filepath package in the Go standard library on Windows, where it could turn an invalid relative path such as \"a/../c:/b\" into the absolute path \"c:\\b\". That conversion of a relative path into an absolute one could enable a directory traversal attack.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:10Z"},"euvd":{"id":"EUVD-2022-44895","exploited":false,"provenance":"source"}}