CVE-2022-29804

published 9 Aug 2022 · updated 16 Nov 2026

Path traversal via Clean on Windows in path/filepath

7.5HighCVSS 7.5EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 1.17.11 and 1.18.3.

Incorrect conversion of certain invalid paths to valid, absolute paths in Clean in path/filepath before Go 1.17.11 and Go 1.18.3 on Windows allows potential directory traversal attack.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Go standard library<1.17.11, >=1.18.0-0 <1.18.31.17.11, 1.18.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-29804 severity on Zeptric[![CVE-2022-29804](https://zeptric.io/badge/cve/CVE-2022-29804.svg)](https://zeptric.io/cve/CVE-2022-29804)