# CVE-2026-34457: OAuth2 Proxy: Health Check User-Agent Matching Bypasses Authentication in auth_request Mode

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2026-04-14T22:14:38.937Z
- Modified: 2026-09-08T08:48:10.755Z
- Also known as: GHSA-5hvv-m4w4-gf6v, BIT-OAUTH2-PROXY-2026-34457, GO-2026-5147
- Weaknesses: CWE-290
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

OAuth2 Proxy is a reverse proxy that provides authentication using OAuth2 providers. Versions prior to 7.15.2 contain a configuration-dependent authentication bypass in deployments where OAuth2 Proxy is used with an auth_request-style integration (such as nginx auth_request) and either --ping-user-agent is set or --gcp-healthchecks is enabled. In affected configurations, OAuth2 Proxy treats any request with the configured health check User-Agent value as a successful health check regardless of the requested path, allowing an unauthenticated remote attacker to bypass authentication and access protected upstream resources. Deployments that do not use auth_request-style subrequests or that do not enable --ping-user-agent/--gcp-healthchecks are not affected. This issue is fixed in 7.15.2.

(As written by CVE List.)

## Affected

- oauth2-proxy oauth2-proxy: < 7.15.2
- github.com/oauth2-proxy/oauth2-proxy/v7 (Go): before 7.15.2
- github.com/oauth2-proxy/oauth2-proxy (Go): up to 3.2.0; all versions
- oauth2_proxy_project oauth2_proxy: before 7.15.2
- oauth2-proxy (Bitnami): before 7.15.2

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-5hvv-m4w4-gf6v> (advisory, mitigation, vendor-advisory, web)
- <https://github.com/oauth2-proxy/oauth2-proxy/releases/tag/v7.15.2> (article, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34457> (advisory, web)
- <https://github.com/oauth2-proxy/oauth2-proxy> (package)

## Sources

- CVE List: [CVE-2026-34457](https://www.cve.org/CVERecord?id=CVE-2026-34457), CVE Terms of Use, modified 2026-04-15
- GitHub Advisory Database: [GHSA-5hvv-m4w4-gf6v](https://github.com/advisories/GHSA-5hvv-m4w4-gf6v), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5147](https://pkg.go.dev/vuln/GO-2026-5147), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-34457](https://nvd.nist.gov/vuln/detail/CVE-2026-34457), Public domain, modified 2026-07-24
- Bitnami Vulnerability Database: [BIT-OAUTH2-PROXY-2026-34457](https://osv.dev/vulnerability/BIT-OAUTH2-PROXY-2026-34457), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-34457 · Whole record: https://cve.day/CVE-2026-34457.json · Rebuilt by cve.day 2026-11-25T22:59:18.804Z
