7.5

CVE-2022-29804: Path traversal via Clean on Windows in path/filepath

Modified
AliasesGO-2022-0533BIT-golang-2022-29804ALPINE-CVE-2022-29804
Published 09-08-2022Last modified 03-08-2024

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.

Priority
Prioritisesevere

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?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
2.39%
0%100%
Low · +0.13 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 5 · Related 5

Timeline

  1. 09-08-2022
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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
Golang1 product
  • go< 1.17.11 | ≥ 1.18.0, < 1.18.3

4 vendors · 4 products

References

6 links