Skip to main content

Oauth2 Proxy CVE-2026-34457

| EUVDEUVD-2026-22761 CRITICAL
Authentication Bypass by Spoofing (CWE-290)
2026-04-14 GitHub_M GHSA-5hvv-m4w4-gf6v
9.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify OAuth2 Proxy with nginx auth_request
  2. Delivery
    Determine health check User-Agent value
  3. Exploit
    Craft requests with spoofed User-Agent header
  4. Execution
    Bypass authentication validation
  5. Impact
    Access 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

oauth2-proxy < 7.15.2

Affected Packages

go github.com/oauth2-proxy/oauth2-proxy no fix
go github.com/oauth2-proxy/oauth2-proxy/v7 fix: 7.15.2
euvd oauth2_proxy fix: 7.15.2

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

Vendor (GitHub_M) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
SUSE CRITICAL

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch released
Apr 15, 2026 - 02:30 nvd
Patch available
CVE Published
Apr 14, 2026 - 22:14 nvd
CRITICAL 9.1

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.1%
Top 78% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2026-76835 CRITICAL POC
9.3 Aug 24

Authentication bypass in OAuth2 Proxy (versions 7.5.0 up to but excluding 7.15.2) lets an unauthenticated remote attacke

CVE-2021-21291 MEDIUM POC
6.1 Feb 02

OAuth2 Proxy is an open-source reverse proxy and static file server that provides authentication using Providers (Google

CVE-2020-5233 MEDIUM POC
6.1 Jan 30

OAuth2 Proxy before 5.0 has an open redirect vulnerability. Rated medium severity (CVSS 6.1), this vulnerability is remo

CVE-2017-1000069 HIGH
8.8 Jul 17

CSRF in Bitly oauth2_proxy 2.1 during authentication flow. Rated high severity (CVSS 8.8), this vulnerability is remotel

CVE-2026-41059 HIGH
8.2 Apr 21

Authentication bypass in OAuth2 Proxy 7.5.0-7.15.1 allows remote unauthenticated attackers to access protected resources

CVE-2017-1000070 MEDIUM
6.1 Jul 17

The Bitly oauth2_proxy in version 2.1 and earlier was affected by an open redirect vulnerability during the start and te

CVE-2020-11053 MEDIUM
6.1 May 07

In OAuth2 Proxy before 5.1.1, there is an open redirect vulnerability. Rated medium severity (CVSS 6.1), this vulnerabil

CVE-2021-21411 MEDIUM
5.5 Mar 26

OAuth2-Proxy is an open source reverse proxy that provides authentication with Google, Github or other providers. Rated

CVE-2020-4037 MEDIUM
5.4 Jun 29

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

CVE-2026-34454 LOW
3.5 Apr 14

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

Vendor 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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy