Synced 18 Jun 2026 05:58 UTC Account
← All products

CVE-2022-32190

HIGH severity · CVSS 7.5 · Path traversal
7.5CVSS HIGH

Summary

JoinPath and URL.JoinPath do not remove ../ path elements appended to a relative path. For example, JoinPath("https://go.dev", "../go") returns the URL "https://go.dev/../go", despite the JoinPath documentation stating that ../ path elements are removed from the result.

Impact & exploitability

Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
Confidentiality impactHigh
Integrity impactNone
Availability impactNone
Exploit probability (EPSS)2%

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected products we track (1)

Go

Recommendation

Apply the vendor fix promptly. Open any affected product above for its exact safe version.

Official patch: https://go.dev/cl/423514 ↗