Live threats

All CVEs / Oauth2 Proxy Project

CVE-2020-4037Oauth2 Proxy Project Oauth2 Proxy

Medium 5.4 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Oauth2 Proxy.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
oauth2_proxy_projectoauth2_proxy≥ 5.1.1 < 6.0.0

Official sources

References

Links published by the sources. Open them with care.