Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Lifecycle Timeline
6DescriptionGitHub Advisory
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.
AnalysisAI
Authentication bypass in OAuth2 Proxy versions before 7.15.2 allows remote unauthenticated attackers to access protected resources when deployed with nginx auth_request integration and health check features enabled. Attackers can spoof health check User-Agent headers to bypass OAuth2 authentication entirely, gaining unauthorized access to upstream applications. CVSS 9.1 (Critical) reflects network-accessible, low-complexity attack requiring no privileges or user interaction. No active exploitation confirmed (not in CISA KEV), but the trivial attack complexity and authentication bypass impact warrant immediate patching in affected deployments using nginx auth_request with --ping-user-agent or --gcp-healthchecks flags.
Technical ContextAI
OAuth2 Proxy is a reverse proxy that enforces OAuth2 authentication before forwarding requests to upstream services. In nginx deployments, the auth_request directive creates subrequests to OAuth2 Proxy to validate authentication before serving protected content. The vulnerability (CWE-290: Authentication Bypass by Spoofing) stems from improper health check request validation. When --ping-user-agent or --gcp-healthchecks is configured, OAuth2 Proxy is intended to respond successfully to health monitoring probes matching specific User-Agent strings. However, affected versions fail to restrict this health check logic to designated health check endpoints, treating ANY request with the configured health check User-Agent as valid regardless of the requested path. This allows attackers to craft HTTP requests with spoofed User-Agent headers to bypass authentication checks entirely, as the proxy returns successful authentication responses to nginx for what should be protected resources. The flaw only manifests in auth_request-style integrations where the proxy's response directly determines access control decisions.
RemediationAI
Immediately upgrade OAuth2 Proxy to version 7.15.2 or later, which contains fixes for the authentication bypass vulnerability. The patched release is available at https://github.com/oauth2-proxy/oauth2-proxy/releases/tag/v7.15.2 with complete remediation for the health check validation flaw. Organizations unable to upgrade immediately should disable --ping-user-agent and --gcp-healthchecks configuration flags as a temporary mitigation, though this impacts health monitoring capabilities. Alternative interim mitigation involves restricting health check endpoints at the nginx level to specific paths and removing auth_request directives from those locations, ensuring health checks do not bypass authentication validation for protected resources. Review nginx configuration to ensure auth_request integration properly isolates health check endpoints from application paths. Consult the GitHub security advisory at https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-5hvv-m4w4-gf6v for deployment-specific guidance and configuration validation steps.
The ngx_http_parse_chunked function in http/ngx_http_parse.c in nginx 1.3.9 through 1.4.0 allows remote attackers to cau
A critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access
nginx 0.8.41 through 1.4.3 and 1.5.x before 1.5.7 allows remote attackers to bypass intended restrictions via an unescap
An issue was discovered on GL.iNet devices before version 4.5.0. Rated critical severity (CVSS 9.8), this vulnerability
Nginx versions since 0.5.6 up to and including 1.13.2 are vulnerable to integer overflow vulnerability in nginx range fi
The resolver in nginx before 1.8.1 and 1.9.x before 1.9.10 allows remote attackers to cause a denial of service (invalid
Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress
A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres
A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-c
Roxy-WI is a web interface for managing Haproxy, Nginx, Apache and Keepalived servers. Rated critical severity (CVSS 9.8
The STARTTLS implementation in mail/ngx_mail_smtp_handler.c in the SMTP proxy in nginx 1.5.x and 1.6.x before 1.6.1 and
Heap buffer overflow in NGINX Plus and NGINX Open Source ngx_http_rewrite_module allows remote attackers to crash worker
Same weakness CWE-290 – Authentication Bypass by Spoofing
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-22761
GHSA-5hvv-m4w4-gf6v