# CVE-2022-32190: Failure to strip relative path components in net/url

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.43%, higher than 84% of CVEs (2026-12-01)
- Published: 2022-09-12T20:23:15.000Z
- Modified: 2026-09-08T08:47:48.465Z
- Also known as: GO-2022-0988, BIT-GOLANG-2022-32190
- Related: CGA-7rm4-pw37-x797
- Weaknesses: CWE-22
- Assigned by: Go

## 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.

(As written by CVE List.)

## Affected

- net/url: from 1.19.0-0 before 1.19.1
- stdlib (Go): from 1.19.0-0 before 1.19.1
- golang go: 1.19.0
- golang (Bitnami): from 1.19.0-0 before 1.19.1

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://groups.google.com/g/golang-announce/c/x49AQzIVX-s> (advisory, mailing-list, third-party-advisory, web)
- <https://go.dev/issue/54385> (advisory, issue-tracking, patch, report, vendor-advisory)
- <https://go.dev/cl/423514> (fix, patch, release-notes)
- <https://pkg.go.dev/vuln/GO-2022-0988> (advisory, issue-tracking, patch, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-32190> (web)

## Sources

- CVE List: [CVE-2022-32190](https://www.cve.org/CVERecord?id=CVE-2022-32190), CVE Terms of Use, modified 2024-08-03
- Go Vulnerability Database: [GO-2022-0988](https://pkg.go.dev/vuln/GO-2022-0988), CC-BY-4.0, modified 2026-07-15
- NVD: [CVE-2022-32190](https://nvd.nist.gov/vuln/detail/CVE-2022-32190), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GOLANG-2022-32190](https://osv.dev/vulnerability/BIT-GOLANG-2022-32190), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-32190 · Whole record: https://cve.day/CVE-2022-32190.json · Rebuilt by cve.day 2026-11-25T22:58:14.871Z
