All CVEs / Oauth2 Proxy Project
CVE-2020-4037Oauth2 Proxy Project Oauth2 Proxy
Medium 5.4 No auth needed
Follow: this CVE · Oauth2 Proxy Project · Oauth2 Proxy Project Oauth2 Proxy We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.4
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 61
- Auth required
- No
- Published
- Jun 29, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-601
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Oauth2 Proxy.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/oauth2-proxy/oauth2-proxy |
≥ 5.1.1 < 6.0.0 |
6.0.0 |
go get github.com/oauth2-proxy/oauth2-proxy@v6.0.0 |
Per OSV / GitHub Advisories (GHSA-5m6c-jp6f-2vcv). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| oauth2_proxy_project | oauth2_proxy | ≥ 5.1.1 < 6.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory