OAuth2-Proxy has authentication bypass in oauth2-proxy skip_auth_routes due to Query Parameter inclusion
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · 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-290.
Summary
OAuth2-Proxy is an open-source tool that can act as either a standalone reverse proxy or a middleware component integrated into existing reverse proxy or load balancer setups. In versions 7.10.0 and below, oauth2-proxy deployments are vulnerable when using the skip_auth_routes configuration option with regex patterns. Attackers can bypass authentication by crafting URLs with query parameters that satisfy configured regex patterns, allowing unauthorized access to protected resources. The issue stems from skip_auth_routes matching against the full request URI. Deployments using skip_auth_routes with regex patterns containing wildcards or broad matching patterns are most at risk. This issue is fixed in version 7.11.0. Workarounds include: auditing all skip_auth_routes configurations for overly permissive patterns, replacing wildcard patterns with exact path matches where possible, ensuring regex patterns are properly anchored (starting with ^ and ending with $), or implementing custom validation that strips query parameters before regex matching.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| oauth2-proxy | oauth2-proxy | before 7.11.0 | 7.11.0 | Patch available | CNA |
| — | github.com/oauth2-proxy/oauth2-proxy/v7 (Go) | before 7.11.0 | 7.11.0 | Patch available | GHSA-7rh7-c77v-6434 |
- oauth2-proxy Vendoroauth2-proxy Affected before 7.11.0 Fixed in 7.11.0 Patch available CNA
- github.com/oauth2-proxy/oauth2-proxy/v7 (Go) Vendor— Affected before 7.11.0 Fixed in 7.11.0 Patch available GHSA-7rh7-c77v-6434
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:oauth2_proxy_project:oauth2_proxy:*:*:*:*:*:*:*:* | before 7.11.0 | Vulnerable | oauth2-proxy |
- cpe:2.3:a:oauth2_proxy_project:oauth2_proxy:*:*:*:*:*:*:*:* Versions before 7.11.0 Vulnerable ·oauth2-proxy
Remediation
- Fix · CNA oauth2-proxy (oauth2-proxy) Fixed in 7.11.0
- Fix · GHSA-7rh7-c77v-6434 github.com/oauth2-proxy/oauth2-proxy/v7 (Go) Fixed in 7.11.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ceph Storage 8 | Affected | No fix yet |
Timeline
- 2026-10-02 Threatist record created from CVE-2025-54576
- 2026-10-03 Alias added: GHSA-7rh7-c77v-6434
References
Other 5
- https://github.com/oauth2-proxy/oauth2-proxy/blob/f4b33b64bd66ad28e9b0d63bea51837b83c00ca1/oauthproxy.go#L582-L584
- https://github.com/oauth2-proxy/oauth2-proxy/blob/f4b33b64bd66ad28e9b0d63bea51837b83c00ca1/pkg/requests/util/util.go#L37-L44
- https://github.com/oauth2-proxy/oauth2-proxy/releases/tag/v7.11.0
- https://oauth2-proxy.github.io/oauth2-proxy/configuration/overview/#proxy-options
- https://github.com/oauth2-proxy/oauth2-proxy
More oauth2-proxy Oauth2 Proxy vulnerabilities
- 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-2026-29698 OAuth2 Proxy has an Authentication Bypass via Fragment Confusion in skip_auth_routes and skip_auth_regex CVSS 3.1HIGH 8.2
- 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
Sources
- CVE-2025-54576 · CVE Program
- CVE-2025-54576 · NVD
- FIRST EPSS
- GHSA-7rh7-c77v-6434 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-54576 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences