CVE-2026-40575High· 8.7▾ TwilightA flaw was found in OAuth2 Proxy. When configured with `--reverse-proxy` and either `--skip-auth-regex` or `--skip-auth-route`, the proxy may trust a client-supplied `X-Forwarded-Uri` header. An unauthenticated remote attacker can exploit …
▾ Twilight zone — High severity, or a signal on a lesser flaw
impact 47.8 · likelihood 0.1 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 21.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via CSAF
0.5%
Last analysed / modified upstream
9.1 → 8.7
critical → high
A flaw was found in OAuth2 Proxy. When configured with --reverse-proxy and either --skip-auth-regex or --skip-auth-route, the proxy may trust a client-supplied X-Forwarded-Uri header. An unauthenticated remote attacker can exploit this by spoofing the header, leading to an authentication bypass. This allows unauthorized access to protected routes without a valid session.
oauth2-proxy: github.com/oauth2-proxy/oauth2-proxy: OAuth2 Proxy: Authentication bypass due to spoofed X-Forwarded-Uri header — rated Important by Red Hat. Released 2026-04-21, updated 2026-09-21.
Affected:
Fixed:
No fix planned:
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ https://access.redhat.com/errata/RHSA-2026:58471
Workarounds / mitigations:
X-Forwarded-Uri header at any layer before it reaches oauth2-proxy;X-Forwarded-Uri header with the actual request URI before the request reaches oauth2-proxy. If you are using NGINX you can use the following example to create your tailored mitigation: location /internal-auth/ {
internal; # Ensure external users can't access this path
# Make sure the OAuth2 Proxy know…
## Package advisory (CVE-2026-40575)
Affected packages:
- `github.com/oauth2-proxy/oauth2-proxy/v7 >= 7.5.0, < 7.15.2`
Patched in:
- `github.com/oauth2-proxy/oauth2-proxy/v7 7.15.2`
Source: https://osv.dev/vulnerability/GHSA-7x63-xv5r-3p2x
Field changes observed since this record was first indexed.
Connected by shared product, vendor, weakness, or advisory.
CVE-2026-48702High· 7.5Rekor is a software supply chain transparency log
CVE-2026-43871High· 7.5thrift: Apache Thrift: Denial of Service via infinite loop (CVE-2026-43871)
CVE-2026-49759High· 8.2erlang: Erlang OTP: Denial of Service via crafted SCTP ERROR chunk (CVE-2026-49759)
CVE-2026-87910Medium· 5.7When tarfile extracts a link on a system that doesn't support links, it falls back to extracting a member from the archive
CVE-2026-90678High· 7.5An issue was discovered in HAProxy 3.3.0 through 3.4.4 and in 3.5-dev1 through 3.5-dev5
CVE-2026-12003High· 7.8To allow builds of Python to be run from an in-tree layout (rather than an installed file layout), the VPATH variable is defined at build time and used to locate certain landmarks - specifically, Modules/setup.local