Read the docs
TI-2026-29698 Aliases CVE-2026-41059GHSA-pxq7-h93f-9jrg

OAuth2 Proxy has an Authentication Bypass via Fragment Confusion in skip_auth_routes and skip_auth_regex

Priority MEDIUM 41CWE-288Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · Low · None
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-288.

Summary

OAuth2 Proxy is a reverse proxy that provides authentication using OAuth2 providers. Versions 7.5.0 through 7.15.1 have a configuration-dependent authentication bypass. Deployments are affected when all of the following are true: Use of `skip_auth_routes` or the legacy `skip_auth_regex`; use of patterns that can be widened by attacker-controlled suffixes, such as `^/foo/.*/bar$` causing potential exposure of `/foo/secret`; and protected upstream applications that interpret `#` as a fragment delimiter or otherwise route the request to the protected base path. In deployments that rely on these settings, an unauthenticated attacker can send a crafted request containing a number sign in the path, including the browser-safe encoded form `%23`, so that OAuth2 Proxy matches a public allowlist rule while the backend serves a protected resource. Deployments that do not use these skip-auth options, or that only allow exact public paths with tightly scoped method and path rules, are not affected. A fix has been implemented in version 7.15.2 to normalize request paths more conservatively before skip-auth matching so fragment content does not influence allowlist decisions. Users who cannot upgrade immediately can reduce exposure by tightening or removing `skip_auth_routes` and `skip_auth_regex` rules, especially patterns that use broad wildcards across path segments. Recommended mitigations include replacing broad rules with exact, anchored public paths and explicit HTTP methods; rejecting requests whose path contains `%23` or `#` at the ingress, load balancer, or WAF level; and/or avoiding placing sensitive application paths behind broad `skip_auth_routes` rules.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00275 19th percentileScored 2026-11-07
Fix Partial oauth2-proxy (oauth2-proxy): 7.15.2github.com/oauth2-proxy/oauth2-proxy/v7 (Go): 7.15.2Red Hat: 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
oauth2-proxyoauth2-proxy7.5.0 to before 7.15.27.15.2Patch availableCNA
—github.com/oauth2-proxy/oauth2-proxy/v7 (Go)7.5.0 to before 7.15.27.15.2Patch availableGHSA-pxq7-h93f-9jrg
  • oauth2-proxy Vendoroauth2-proxy Affected 7.5.0 to before 7.15.2 Fixed in 7.15.2 Patch available CNA
  • github.com/oauth2-proxy/oauth2-proxy/v7 (Go) Vendor— Affected 7.5.0 to before 7.15.2 Fixed in 7.15.2 Patch available GHSA-pxq7-h93f-9jrg

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:oauth2_proxy_project:oauth2_proxy:*:*:*:*:*:*:*:*7.5.0 to before 7.15.2Vulnerableoauth2-proxy
  • cpe:2.3:a:oauth2_proxy_project:oauth2_proxy:*:*:*:*:*:*:*:* Versions 7.5.0 to before 7.15.2 Vulnerable ·oauth2-proxy

Remediation

  • Fix · CNA oauth2-proxy (oauth2-proxy) Fixed in 7.15.2
  • Fix · GHSA-pxq7-h93f-9jrg github.com/oauth2-proxy/oauth2-proxy/v7 (Go) Fixed in 7.15.2 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Ceph Storage 9AffectedNo fix yet

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-41059
  2. 2026-10-03 Alias added: GHSA-pxq7-h93f-9jrg

References

  • TI-2025-34353 OAuth2-Proxy has authentication bypass in oauth2-proxy skip_auth_routes due to Query Parameter inclusion CVSS 3.1CRITICAL 9.1
  • TI-2026-29315 OAuth2 Proxy has an Authentication Bypass via X-Forwarded-Uri Header Spoofing CVSS 3.1CRITICAL 9.1
  • TI-2026-26722 OAuth2 Proxy: Health Check User-Agent Matching Bypasses Authentication in auth_request Mode CVSS 3.1CRITICAL 9.1
  • TI-2017-14408 CSRF in Bitly oauth2_proxy 2.1 during authentication flow CVSS 3.0HIGH 8.8
  • TI-2020-08927 Open Redirect in OAuth2 Proxy CVSS 3.1HIGH 7.1
  • TI-2026-29314 OAuth2 Proxy has an Authorization Bypass in Email Domain Validation via Malformed Multi-@ Email Claims CVSS 3.1MEDIUM 6.8
See all 12 →

Sources