{"id":"CVE-2020-4037","aliases":["CVE-2020-4037","GHSA-5m6c-jp6f-2vcv","BIT-OAUTH2-PROXY-2020-4037"],"related":[],"kind":"vulnerability","state":"published","title":"Open Redirect in OAuth2 Proxy","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nAs 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.\nThis redirect URL is checked within the proxy and validated before redirecting the user to prevent malicious actors providing redirects to potentially harmful sites.","format":"markdown","source":"ghsa"},{"lang":"es","text":"En OAuth2 Proxy a partir de la versión 5.1.1 y anterior a la versión 6.0.0, los usuarios pueden proporcionar una dirección de redireccionamiento para que el proxy envíe al usuario autenticado al final del flujo de autenticación. Está previsto que esta sea la URL original a la que el usuario intentaba acceder. Esta URL de redireccionamiento es comprobada dentro del proxy y validada antes de redireccionar al usuario para impedir que los actores maliciosos proporcionen redireccionamientos a sitios potencialmente dañinos. Esto ha sido corregido en la versión 6.0.0","source":"nvd"}],"published":"2020-06-29T19:45:13.000Z","modified":"2026-09-08T08:48:10.738Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","score":5.8,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-601"],"affected":[{"ranges":[{"version":">= 5.1.1, < 6.0.0","status":"affected"}],"vendor":"OAuth2 Proxy","product":"OAuth2 Proxy","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"5.1.1","status":"affected","fixed":"6.0.0"}],"ecosystem":"Go","package":"github.com/oauth2-proxy/oauth2-proxy","purl":"pkg:golang/github.com/oauth2-proxy/oauth2-proxy","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"5.1.1","fixed":"6.0.0"}],"vendor":"oauth2_proxy_project","product":"oauth2_proxy","cpe":"cpe:2.3:a:oauth2_proxy_project:oauth2_proxy:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"5.1.1","status":"affected","fixed":"6.0.0"}],"ecosystem":"Bitnami","package":"oauth2-proxy","purl":"pkg:bitnami/oauth2-proxy","source":"bitnami"}],"references":[{"url":"https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-5m6c-jp6f-2vcv","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/oauth2-proxy/oauth2-proxy/commit/ee5662e0f5001d76ec76562bb605abbd07c266a2","tags":["advisory","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-4037","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/oauth2-proxy/oauth2-proxy/releases/tag/v6.0.0","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-4037","url":"https://www.cve.org/CVERecord?id=CVE-2020-4037","licence":"CVE Terms of Use","modified":"2024-08-04T07:52:20.759Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5m6c-jp6f-2vcv","url":"https://github.com/advisories/GHSA-5m6c-jp6f-2vcv","licence":"CC-BY-4.0","modified":"2026-07-08T06:28:51.722Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-4037","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-4037","licence":"Public domain","modified":"2026-06-17T03:19:27.737Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-OAUTH2-PROXY-2020-4037","url":"https://osv.dev/vulnerability/BIT-OAUTH2-PROXY-2020-4037","licence":"Apache-2.0","modified":"2026-09-08T08:48:10.738Z"}],"updatedAt":"2026-11-25T22:57:53.188Z","epss":{"score":0.00896,"percentile":0.60612,"date":"2026-12-01T12:00:22.000Z"}}