CVE-2025-54576: oauth2_proxy_project oauth2_proxy Authentication Bypass by Spoofing
Vulnerability summary
CVE-2025-54576 is a critical (CVSS 9.1) Authentication Bypass by Spoofing vulnerability in oauth2_proxy_project oauth2_proxy. EPSS estimates a 1.20% chance of exploitation in the next 30 days, higher than 67.7% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 2 · Related 3Timeline
- 30-07-2025PublishedVulnerability first disclosed.
- 30-07-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · GoEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · ChainguardEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- NVDNIST9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
1.20%
Chance of exploitation in the next 30 days
Percentile
68%
Versus all other CVEs
30-day change
+0.03 pp
From 1.17% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundOauth2 Proxy
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Chainguard2 products
- grafana-pyroscope-1.12< 1.12.2-r3
- grafana-pyroscope-1.13< 1.13.5-r2
Github.com/oauth2-proxy1 product
- oauth2-proxyAll versions (No fix recorded)
Github.com/oauth2-proxy/oauth2-proxy1 product
- v7< 7.11.0
Oauth2_proxy_project1 product
- oauth2_proxy< 7.11.0
Oauth2-proxy1 product
- oauth2-proxy< 7.11.0
5 vendors · 6 products
References
9 links- github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-7rh7-c77v-6434X Refsource CONFIRMWEBAdvisoryExploitMitigationVendor Advisory
- github.com/oauth2-proxy/oauth2-proxy/commit/9ffafad4b2d2f9f7668e5504565f356a7c047b77X Refsource MISCWEBFIXPatch
- github.com/oauth2-proxy/oauth2-proxy/blob/f4b33b64bd66ad28e9b0d63bea51837b83c00ca1/oauthproxy.goX Refsource MISCWEBProduct