Open redirectin OAuth2 Proxy.
No public exploit found; not on exploited lists.
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.
- Upgrade OAuth2 Proxy to 6.0.0 or later.
- Upgrade github.com/oauth2-proxy/oauth2-proxy (Go) to 6.0.0 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 30 Dec 2019CVE ID reserved by GitHub_M.
- 29 Jun 2020Published in the CVE List.
- 4 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other OAuth2 Proxy vulnerabilities
Same weakness: Open redirect
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
Patchminder. CVE-2020-4037: Open redirect in OAuth2 Proxy. https://patchminder.com/cve/cve-2020-4037/ (accessed 5 December 2026).