BIT-oauth2-proxy-2025-54576

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/oauth2-proxy/BIT-oauth2-proxy-2025-54576.json
JSON Data
https://api.test.osv.dev/v1/vulns/BIT-oauth2-proxy-2025-54576
Aliases
Published
2025-08-01T05:44:50.976Z
Modified
2025-08-01T06:59:36.199552Z
Summary
OAuth2-Proxy has authentication bypass in oauth2-proxy skip_auth_routes due to Query Parameter inclusion
Details

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 skipauthroutes 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 skipauthroutes matching against the full request URI. Deployments using skipauthroutes 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 skipauthroutes 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.

Database specific
{
    "cpes": [
        "cpe:2.3:a:oauth2_proxy_project:oauth2_proxy:*:*:*:*:*:go:*:*"
    ],
    "severity": "Critical"
}
References

Affected packages

Bitnami / oauth2-proxy

Package

Name
oauth2-proxy
Purl
pkg:bitnami/oauth2-proxy

Severity

  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.11.0