{"id":"CVE-2026-34457","published":"2026-04-14T22:14:38Z","modified":"2026-04-15T17:43:30Z","title":"OAuth2 Proxy: Health Check User-Agent Matching Bypasses Authentication in auth_request Mode","vendor":"oauth2-proxy","product":"oauth2-proxy","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00493,"percentile":0.43266,"provenance":"source"},"cwes":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing"}],"references":[{"url":"https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-5hvv-m4w4-gf6v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/oauth2-proxy/oauth2-proxy/releases/tag/v7.15.2","tags":["x_refsource_MISC"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":8.65},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"oauth2-proxy","affectedVersions":[{"vendor":"oauth2-proxy","product":"oauth2-proxy","versions":["< 7.15.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-04-15T17:43:23.417901Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/oauth2-proxy/oauth2-proxy/v7","vulnerableRanges":["<7.15.2"],"patched":["7.15.2"],"from":["GHSA-5hvv-m4w4-gf6v","GO-2026-5147"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/oauth2-proxy/oauth2-proxy","vulnerableRanges":["<=3.2.0","all versions"],"patched":[],"from":["GHSA-5hvv-m4w4-gf6v","GO-2026-5147"],"provenance":"source"}],"summary":{"text":"OAuth2 Proxy versions prior to 7.15.2 contain an authentication bypass in the auth_request-style integration (such as nginx auth_request), where requests carrying the configured health check User-Agent are treated as successful health checks regardless of path. An unauthenticated remote attacker can exploit this to reach protected upstream resources, but only in deployments that use auth_request-style subrequests and have either --ping-user-agent set or --gcp-healthchecks enabled.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:38Z"},"euvd":{"id":"EUVD-2026-22761","exploited":false,"provenance":"source"}}