CVE-2020-4037
MEDIUM 5.4CVSS 3.1Open Redirect in OAuth2 Proxy
In OAuth2 Proxy from version 5.1.1 and less than version 6.0.0, users can provide a redirect address for the proxy to send the authenticated user to at the end of the authentication flow. This is expected to be the original URL that the user was trying to access. This redirect URL is checked within the proxy and validated before redirecting the user to prevent malicious actors providing redirects to potentially harmful sites. This has been fixed in version 6.0.0.
- Published
- 29 Jun 2020
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-601
- Also known as
- BIT-oauth2-proxy-2020-4037GHSA-5m6c-jp6f-2vcv
- Sources
- NVDJSONOSV GHSA-5m6c-jp6f-2vcvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | oauth2_proxy_project | oauth2_proxycpe:2.3:a:oauth2_proxy_project:oauth2_proxy:*:*:*:*:*:*:*:* |
>= 5.1.1, < 6.0.0 | 6.0.0 |
| OSV | Go | github.com/oauth2-proxy/oauth2-proxy | >= 5.1.1, < 6.0.0 | 6.0.0 |
References
- https://github.com/oauth2-proxy/oauth2-proxy/commit/ee5662e0f5001d76ec76562bb605abbd07c266a2 · Patch, Third Party Advisory, WEB
- https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-5m6c-jp6f-2vcv · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-4037 · ADVISORY
- https://github.com/oauth2-proxy/oauth2-proxy/releases/tag/v6.0.0 · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 29 Jun 2020)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Dec 2021)