CVE-2022-29804: Path traversal via Clean on Windows in path/filepath
Vulnerability summary
CVE-2022-29804 is a high (CVSS 7.5) vulnerability in go standard library path/filepath. EPSS estimates a 2.39% chance of exploitation in the next 30 days, higher than 83.9% of scored vulnerabilities.
Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 5Timeline
- 09-08-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
2 scores · 2 sources · 1 version- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
2.39%
Chance of exploitation in the next 30 days
Percentile
84%
Versus all other CVEs
30-day change
Increase +0.13 pp
From 2.26% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- go≥ 1.18.0, < 1.18.4-r0
Go1 product
- stdlib≥ 1.18.0-0, < 1.18.3
Go standard library1 product
- path/filepath< 1.17.11 | ≥ 1.18.0-0, < 1.18.3
Golang1 product
- go< 1.17.11 | ≥ 1.18.0, < 1.18.3
4 vendors · 4 products
References
6 links- go.dev/issue/52476REPORT