CVE-2025-54576 json
OAuth2-Proxy has authentication bypass in oauth2-proxy skip_auth_routes due to Query Parameter inclusion
published 2025-07-30 15 mo ago modified 2026-09-10 1 mo ago also BIT-oauth2-proxy-2025-54576 , EUVD-2025-23197 , GHSA-7rh7-c77v-6434 , GO-2025-3833
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 68%
- public exploits
- 0
- none known
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.
Patch / fix
- go github.com/oauth2-proxy/oauth2-proxy/v7 7.11.0
- bitnami oauth2-proxy 7.11.0
- oauth2_proxy_project oauth2_proxy 7.11.0
- govulncheck-vulndb SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 0.0.20250814T182633-150000.1.98.1
suse advisories SUSE-SU-2025:02912-1
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250811T192933-1.1
opensuse advisories openSUSE-SU-2025:15434-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-54576 updated cvss 7.4
github.com/oauth2-proxy/oauth2-proxy: OAuth2-Proxy authentication bypass
-
Red Hat Ceph Storage 8 rhceph/oauth2-proxy-rhel9affected: workaround, no fix available
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 15 mo ago
Exploit prediction
1.21% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-7rh7-c77v-6434 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/oauth2-proxy/oauth2-proxy/v7 | <7.11.0 |
7.11.0 |
| bitnami | oauth2-proxy | <7.11.0 |
7.11.0 |
| go | github.com/oauth2-proxy/oauth2-proxy | all versions |
no fix listed |
Affected products
- oauth2-proxy oauth2-proxy
Classification
- Weakness
-
- CWE-290 Authentication Bypass by Spoofing
References
-
github.com
/oauth2-proxy/oauth2-proxy/commit/9ffafad4b2d2f9f7668e5504565f356a7c047b77
web, patch
-
github.com
/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-7rh7-c77v-6434
web, exploit, mitigation, vendor-advisory, advisory
-
github.com
/oauth2-proxy/oauth2-proxy/blob/f4b33b64bd66ad28e9b0d63bea51837b83c00ca1/oauthproxy.go#L582-L584
web, product
-
github.com
/oauth2-proxy/oauth2-proxy/blob/f4b33b64bd66ad28e9b0d63bea51837b83c00ca1/pkg/requests/util/util.go#L37-L44
web, product
-
github.com
/oauth2-proxy/oauth2-proxy/releases/tag/v7.11.0
web, release-notes, article
-
oauth2-proxy.github.io
/oauth2-proxy/configuration/overview/#proxy-options
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2025-54576
advisory, web
-
github.com
/oauth2-proxy/oauth2-proxy
package
Sources
- CVE List CVE-2025-54576
- GitHub Advisory GHSA-7rh7-c77v-6434
- NVD CVE-2025-54576
- OSV BIT-oauth2-proxy-2025-54576
- OSV GO-2025-3833
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.