CVSS 4.0
9.3 criticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NCritical (9.3) in oauth2-proxy oauth2-proxy. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/oauth2-proxy/oauth2-proxy/v7 7.15.2.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Ngithub.com/oauth2-proxy/oauth2-proxy/v7 (Go): fixed in 7.15.2Explain CVE-2026-76835 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-76835?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-76835?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-76835 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| oauth2-proxy | from 7.15.2 through 7.15.4 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-7x63-xv5r-3p2x | Go | github.com/oauth2-proxy/oauth2-proxy/v7 | >=7.5.0 <7.15.2 | 7.15.2 |
| GO-2026-5236 | Go | github.com/oauth2-proxy/oauth2-proxy | all versions | no fix published |
| GO-2026-5236 | Go | github.com/oauth2-proxy/oauth2-proxy/v7 | >=7.5.0 <7.15.2 | 7.15.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Red Hat | hummingbird:1 | oauth2-proxy | 0:7.15.5-0.1.hum1 | RHSA-2026:74536 |
From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.
Red Hat rates this Important.
This vulnerability is rated as Important severity as an unauthenticated remote attacker can bypass authentication checks to access protected upstream services without authorization. The issue occurs when OAuth2 Proxy operates in reverse proxy mode with route-skipping rules enabled and lacks an explicitly restricted trusted proxy configuration, causing it to trust header inputs from any remote source. Because authentication enforcement fails before requests are dispatched upstream, unauthorized users can gain full access to sensitive internal endpoints.
This is vulnerability is rated as Important rather than Critical because the reverse proxy mode is required which is not part of the default configuration for Red Hat products.
To mitigate this issue without patching, apply one of the following configuration controls:
1. Restrict trusted proxy IP addresses in OAuth2 Proxy:
Explicitly set the `--trusted-proxy-ip` command-line argument (or the `trusted_proxy_ip` configuration file parameter) to the specific IP address or CIDR range of authorized upstream reverse proxies or load balancers rather than relying on the default:
```
--trusted-proxy-ip=<TRUSTED_PROXY_IP_OR_CIDR>
```
2. Sanitize forwarded headers at the perimeter reverse proxy:
Configure intermediate ingress controllers or front-facing reverse proxies (such as NGINX) to strip client-supplied `X-Forwarded-Uri` headers or overwrite them with the actual request URI before forwarding traffic to OAuth2 Proxy:
```
proxy_set_header X-Forwarded-Uri $request_uri;
```
Warning: Applying these configuration adjustments requires restarting or reloading the affected OAuth2 Proxy or front-end proxy services, which may cause a brief interruption to active network sessions.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Hardened Images | oauth2-proxy-main-7.15.5-0.1.hum1 | Fixed 2026-10-01 | RHSA-2026:74536 |
| Red Hat Ceph Storage 8 | rhceph/oauth2-proxy-rhel9 | Not affected | |
| Red Hat Ceph Storage 9 | rhceph/oauth2-proxy-rhel10 | Not affected | |
| Red Hat Ceph Storage 9 | rhceph/oauth2-proxy-rhel9 | Not affected | |
| Red Hat OpenShift Dev Spaces | devspaces/oauth2-proxy-rhel9 | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-76835.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.