ADVISORIES

Vulnerability

CVE-2022-32190

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.

33 advisories report this vulnerability, across 10 ecosystems.

Advisories in Go

  • GO-2022-0988

    Failure to strip relative path components in net/url

    CVE-2022-32190 Go Updated 15 July 2026

References