CVE-2025-54576
OAuth2-Proxy has authentication bypass in oauth2-proxy skip_auth_routes due to Query Parameter inclusion
Check your servers for CVE-2025-54576
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-54576 affects oauth2-proxy, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 69.3% of all scored CVEs. Scores of 28 Nov 2026.
The assessment of CISA (SSVC, 30 Jul 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-290 Authentication Bypass by Spoofing
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| oauth2-proxy |
affected < 7.11.0
|
Is my server affected?
Find the installed version of oauth2-proxy and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i oauth2-proxy
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-54576 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-54576RHEL, Rocky, Alma, Fedora
rpm -q oauth2-proxy
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-54576Alpine
apk list --installed | grep -i oauth2-proxyWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-54576
trivy image --scanners vuln IMAGE | grep CVE-2025-54576
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
Other references
- https://github.com/oauth2-proxy/oauth2-proxy/commit/9ffafad4b2d2f9f7668e5504565f356a7c047b77 github.com
- https://github.com/oauth2-proxy/oauth2-proxy/blob/f4b33b64bd66ad28e9b0d63bea51837b83c00ca1/oauthproxy.go#L582-L584 github.com
- https://github.com/oauth2-proxy/oauth2-proxy/blob/f4b33b64bd66ad28e9b0d63bea51837b83c00ca1/pkg/requests/util/util.go#L37-L44 github.com
- https://github.com/oauth2-proxy/oauth2-proxy/releases/tag/v7.11.0 github.com
- https://oauth2-proxy.github.io/oauth2-proxy/configuration/overview/#proxy-options oauth2-proxy.github.io
Source: the record CVE-2025-54576 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse