Authentication Bypass Affecting rhceph/oauth2-proxy-rhel9 package, versions *


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.2% (68th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL9-RHCEPHOAUTH2PROXYRHEL9-11343425
  • published31 Jul 2025
  • disclosed30 Jul 2025

Introduced: 30 Jul 2025

CVE-2025-54576  (opens in a new tab)
CWE-290  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:9 rhceph/oauth2-proxy-rhel9.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rhceph/oauth2-proxy-rhel9 package and not the rhceph/oauth2-proxy-rhel9 package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

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 Base Scores

version 3.1