GoWorst: Critical9 advisories

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

github.com/oauth2-proxy/oauth2-proxy/v7 has 9 reviewed security advisories in the GitHub Advisory Database — 3 critical, 2 high, 2 moderate, 2 low. The most recent was published 2026-04-22. 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/v7 versions running across your servers, containers and images, and ranks what to patch first.

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

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

go get github.com/oauth2-proxy/oauth2-proxy/v7@7.15.2 && 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 (9)

OAuth2 Proxy has an Authentication Bypass via X-Forwarded-Uri Header Spoofing Critical 9.1 CWE-290 — Affected: from 7.5.0 up to 7.15.2. Fixed in 7.15.2. Published 2026-04-22. GHSA-7x63-xv5r-3p2x · CVE-2026-40575
OAuth2 Proxy has an Authentication Bypass via Fragment Confusion in skip_auth_routes and skip_auth_regex High 8.2 CWE-288 — Affected: from 7.5.0 up to 7.15.2. Fixed in 7.15.2. Published 2026-04-22. GHSA-pxq7-h93f-9jrg · CVE-2026-41059
OAuth2 Proxy has an Authorization Bypass in Email Domain Validation via Malformed Multi-@ Email Claims Moderate 6.8 CWE-863 — Affected: before 7.15.2. Fixed in 7.15.2. Published 2026-04-21. GHSA-c5c4-8r6x-56w3 · CVE-2026-40574
OAuth2 Proxy's Health Check User-Agent Matching Bypasses Authentication in auth_request Mode Critical 9.1 CWE-290 — Affected: before 7.15.2. Fixed in 7.15.2. Published 2026-04-14. GHSA-5hvv-m4w4-gf6v · CVE-2026-34457
OAuth2 Proxy's session cookies are not cleared when rendering sign-in page Low 3.5 CWE-384 CWE-613 — Affected: from 7.11.0 up to 7.15.2. Fixed in 7.15.2. Published 2026-04-14. GHSA-f24x-5g9q-753f · CVE-2026-34454
OAuth2-Proxy is vulnerable to header smuggling via underscore leading to potential privilege escalation High 8.5 CWE-644 — Affected: before 7.13.0. Fixed in 7.13.0. Published 2025-11-10. GHSA-vjrc-mh2v-45x6 · CVE-2025-64484
OAuth2-Proxy's `--gitlab-group` GitLab Group Authorization config flag stopped working in v7.0.0 Moderate 5.5 CWE-285 CWE-863 — Affected: before 7.1.0. Fixed in 7.1.0. Published 2025-07-30. GHSA-652x-m2gr-hppm · CVE-2021-21411
OAuth2-Proxy has authentication bypass in oauth2-proxy skip_auth_routes due to Query Parameter inclusion Critical 9.1 CWE-290 — Affected: before 7.11.0. Fixed in 7.11.0. Published 2025-07-30. GHSA-7rh7-c77v-6434 · CVE-2025-54576
Subdomain checking of whitelisted domains could allow unintended redirects in oauth2-proxy Low 5.4 CWE-601 — Affected: before 7.0.0. Fixed in 7.0.0. Published 2021-05-25. GHSA-4mf2-f3wh-gvf2 · CVE-2021-21291

Find github.com/oauth2-proxy/oauth2-proxy/v7 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.