← Database

CVE-2022-32190

HIGH CVSS: 7.5 Published: 2022-09-13 Modified: 2026-06-17

Description

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.

Affected Platforms

Golang Go

Weakness Type

CWE-22

References