Critical OAuth2 Proxy Auth Bypass: CVE-2026-40575

Critical OAuth2 Proxy Auth Bypass: CVE-2026-40575

A critical authentication bypass vulnerability, CVE-2026-40575, has been identified in OAuth2 Proxy versions 7.5.0 through 7.15.1. The National Vulnerability Database reports that when --reverse-proxy is enabled and --skip-auth-regex or --skip-auth-route rules are configured, OAuth2 Proxy can be tricked by a spoofed X-Forwarded-Uri header. This allows an attacker to manipulate how authentication rules are evaluated, effectively bypassing security controls and accessing protected routes without a valid session.

The attacker’s calculus here is straightforward: exploit trust boundaries. By manipulating a commonly used HTTP header, they can force the proxy to misinterpret the intended destination, leading to unauthenticated access. This isn’t theoretical; it’s a direct path to sensitive internal applications if not mitigated. The CVSS score of 9.1 underscores the severity, indicating network exploitability with high impact on confidentiality and integrity.

Defenders need to act. The fix, available in v7.15.2, should be prioritized. For those unable to upgrade immediately, the National Vulnerability Database suggests several workarounds: strip X-Forwarded-Uri headers at the load balancer, explicitly overwrite X-Forwarded-Uri before forwarding to OAuth2 Proxy, restrict direct client access to OAuth2 Proxy, or review and narrow --skip-auth-regex/--skip-auth-route rules. For Nginx users, ensure X-Forwarded-Uri is set by Nginx itself and not passed from the client.

What This Means For You

  • If your organization uses OAuth2 Proxy with `--reverse-proxy` enabled and `--skip-auth-regex` or `--skip-auth-route` rules, you are directly exposed to CVE-2026-40575. Check your OAuth2 Proxy version immediately. Prioritize upgrading to `v7.15.2` or implement the recommended header stripping/overwriting workarounds to prevent unauthenticated access to protected routes.

Related ATT&CK Techniques

🛡️ Detection Rules

2 rules · 6 SIEM formats

2 detection rules auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.

critical T1190 Initial Access

CVE-2026-40575 - OAuth2 Proxy Auth Bypass via X-Forwarded-Uri

Sigma YAML — free preview
✓ Sigma · Splunk SPL Sentinel KQL Elastic QRadar AQL Wazuh Export via Bot →

Indicators of Compromise

IDTypeIndicator
CVE-2026-40575 Auth Bypass OAuth2 Proxy versions 7.5.0 through 7.15.1
CVE-2026-40575 Auth Bypass Vulnerable configuration: --reverse-proxy enabled AND (--skip-auth-regex OR --skip-auth-route configured)
CVE-2026-40575 Auth Bypass Attack vector: Spoofing X-Forwarded-Uri header
CVE-2026-40575 Auth Bypass Patched in OAuth2 Proxy v7.15.2
Source & Attribution
Source PlatformNVD
ChannelNational Vulnerability Database
PublishedApril 22, 2026 at 03:16 UTC

This content was AI-rewritten and enriched by Shimi's Cyber World based on the original source. All intellectual property rights remain with the original author.

Believe this infringes your rights? Submit a takedown request.

Related Posts

CVE-2026-41127 — BigBlueButton is an open-source virtual classroom. Versions

CVE-2026-41127 — BigBlueButton is an open-source virtual classroom. Versions prior to 3.0.24 have a missing authorization that allows viewers to inject/overwrite captions Version 3.0.24 tightened...

vulnerabilityCVEmedium-severitycwe-639
/SCW Vulnerability Desk /MEDIUM /6.5 /⚑ 2 IOCs /⚙ 1 Sigma

CVE-2026-41126 — Open Redirect

CVE-2026-41126 — BigBlueButton is an open-source virtual classroom. Versions prior to 3.0.24 have an Open Redirect through bigbluebutton/api/join via get-parameter "logoutURL." Version 3.0.24 has adjusted...

vulnerabilityCVEmedium-severityopen-redirectcwe-601
/SCW Vulnerability Desk /MEDIUM /4.3 /⚑ 2 IOCs /⚙ 2 Sigma

Critical RCE in WWBN AVideo: Incomplete Patch Leaves Open Source Platform Exposed

CVE-2026-41064 — WWBN AVideo is an open source video platform. In versions up to and including 29.0, an incomplete fix for AVideo's `test.php` adds `escapeshellarg`...

vulnerabilityCVEcriticalhigh-severitycwe-78
/SCW Vulnerability Desk /CRITICAL /9.3 /⚑ 4 IOCs /⚙ 3 Sigma