Skip to main content
← All vulnerabilities
CVE-2026-34457GO-2026-5147BIT-OAUTH2-PROXY-2026-34457GHSA-5HVV-M4W4-GF6V

OAuth2 Proxy: Health Check User-Agent Matching Bypasses Authentication in auth_request Mode

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.15.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • oauth2-proxy oauth2-proxy

    fixed in 7.15.2

  • github.com/oauth2-proxy/oauth2-proxyGo

    All versions

  • github.com/oauth2-proxy/oauth2-proxy/v7Go

    fixed in 7.15.2

  • github.com/oauth2-proxy/oauth2-proxyGo

    through 3.2.0

References 2

GitHub · oauth2-proxy/oauth2-proxy