Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify OAuth2 Proxy with nginx auth_request
-
DeliveryDetermine health check User-Agent value
-
ExploitCraft requests with spoofed User-Agent header
-
ExecutionBypass authentication validation
-
ImpactAccess protected upstream resources
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Anti-spoofing controls
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | OAuth2 Proxy versions prior to 7.15.2 deployed with auth_request-style integration (nginx auth_request) AND either --ping-user-agent is set OR --gcp-healthchecks is enabled. Unauthenticated remote attacker sends request with configured health check User-Agent value to bypass authentication. |
| Impact | This vulnerability presents critical real-world risk for affected configurations despite no confirmed active exploitation. The CVSS 9.1 score accurately reflects severity: network attack vector (AV:N) enables remote exploitation, low complexity (AC:L) requires only HTTP User-Agent header manipulation, no privileges (PR:N) or user interaction (UI:N) needed, with high confidentiality and integrity impact enabling complete authentication bypass. The attack is trivially automatable-attackers need only identify OAuth2 Proxy deployments and send requests with spoofed User-Agent strings. However, exploitability is configuration-dependent, limiting the attack surface to deployments using both nginx auth_request AND health check features (--ping-user-agent or --gcp-healthchecks), which may represent a subset of total OAuth2 Proxy installations. EPSS data not provided, but the technical simplicity suggests high exploitation probability once configurations are identified. No public exploit code confirmed, reducing immediate risk, but the straightforward nature means exploit development is trivial. SSVC assessment: exploitation status minimal (no known cases), highly automatable (simple HTTP header spoofing), technical impact total (complete authentication bypass). Priority depends on configuration-critical for affected deployments, not applicable to standalone or alternative integration patterns. Organizations using nginx auth_request with OAuth2 Proxy should treat this as emergency-priority patching. |
| Exploit ScenarioDerived | An attacker identifies an organization using OAuth2 Proxy with nginx auth_request to protect internal applications and confirms health check features are enabled through reconnaissance of HTTP responses or configuration disclosure. The attacker crafts HTTP requests to protected application URLs with User-Agent headers matching the configured health check value (common values like monitoring tool signatures or GCP health checker identifiers). OAuth2 Proxy incorrectly validates these requests as legitimate health checks and returns successful authentication responses to nginx, which then proxies the requests to protected upstream services without OAuth2 authentication, granting the attacker unauthorized access to sensitive application data and functionality. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 15, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Oauth2 Proxy gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
OAuth2 Proxy versions before 7.15.2 contain a critical authentication bypass vulnerability that allows unauthenticated remote attackers to directly access protected resources in deployments using nginx auth_request integration. Organizations using this configuration can be completely bypassed, exposing internal applications and sensitive data to unauthorized access regardless of OAuth2 policies.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable health check features (--ping-user-agent and --gcp-healthchecks) if not operationally critical; (2) Implement strict nginx ingress filtering to allow only known, legitimate health check source IPs and User-Agent strings; (3) Add WAF rules to block requests with suspicious health check User-Agent headers; (4) Enable detailed audit logging of all auth_request transactions to detect bypass attempts; (5) Consider temporary deployment of a secondary authentication layer upstream of OAuth2 Proxy until patching is possible.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Oauth2 Proxy
View allAuthentication bypass in OAuth2 Proxy (versions 7.5.0 up to but excluding 7.15.2) lets an unauthenticated remote attacke
OAuth2 Proxy is an open-source reverse proxy and static file server that provides authentication using Providers (Google
OAuth2 Proxy before 5.0 has an open redirect vulnerability. Rated medium severity (CVSS 6.1), this vulnerability is remo
CSRF in Bitly oauth2_proxy 2.1 during authentication flow. Rated high severity (CVSS 8.8), this vulnerability is remotel
Authentication bypass in OAuth2 Proxy 7.5.0-7.15.1 allows remote unauthenticated attackers to access protected resources
The Bitly oauth2_proxy in version 2.1 and earlier was affected by an open redirect vulnerability during the start and te
In OAuth2 Proxy before 5.1.1, there is an open redirect vulnerability. Rated medium severity (CVSS 6.1), this vulnerabil
OAuth2-Proxy is an open source reverse proxy that provides authentication with Google, Github or other providers. Rated
In OAuth2 Proxy from version 5.1.1 and less than version 6.0.0, users can provide a redirect address for the proxy to se
OAuth2 Proxy versions 7.11.0 through 7.15.1 fail to clear the session cookie when rendering the sign-in page due to a re
Same weakness CWE-290 – Authentication Bypass by Spoofing
View allSame technique Authentication Bypass
View allVendor StatusVendor
SUSE
Severity: Critical| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-22761
GHSA-5hvv-m4w4-gf6v
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB