GoWorst: Critical5 advisories

github.com/oauth2-proxy/oauth2-proxy: known vulnerabilities

github.com/oauth2-proxy/oauth2-proxy has 5 reviewed security advisories in the GitHub Advisory Database — 1 critical, 1 high, 2 moderate, 1 low. The most recent was published 2026-04-14. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the github.com/oauth2-proxy/oauth2-proxy versions running across your servers, containers and images, and ranks what to patch first.

How to fix github.com/oauth2-proxy/oauth2-proxy

Upgrade github.com/oauth2-proxy/oauth2-proxy to a release at or above the fixed version shown for each advisory below. For Go:

go get github.com/oauth2-proxy/oauth2-proxy@6.0.0 && go mod tidy (check govulncheck)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (5)

OAuth2 Proxy's Health Check User-Agent Matching Bypasses Authentication in auth_request Mode Critical 9.1 CWE-290 — Affected: up to and including 3.2.0. No fixed release is listed. Published 2026-04-14. GHSA-5hvv-m4w4-gf6v · CVE-2026-34457
Open Redirect in OAuth2 Proxy Moderate 4.3 CWE-601 — Affected: from 5.1.1 up to 6.0.0. Fixed in 6.0.0. Published 2021-12-20. GHSA-5m6c-jp6f-2vcv · CVE-2020-4037
The pattern '/\domain.com' is not disallowed when redirecting, allowing for open redirect Moderate 5.9 CWE-601 — Affected: before 5.0.0. Fixed in 5.0.0. Published 2021-12-20. GHSA-qqxw-m5fj-f7gv · CVE-2020-5233
Subdomain checking of whitelisted domains could allow unintended redirects in oauth2-proxy Low 5.4 CWE-601 — Affected: up to and including 3.2.0. No fixed release is listed. Published 2021-05-25. GHSA-4mf2-f3wh-gvf2 · CVE-2021-21291

Find github.com/oauth2-proxy/oauth2-proxy across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.