CVE-2026-40575
CVE-2026-40575 — OAuth2 Proxy has an Authentication Bypass via X-Forwarded-Uri Header Spoofing
OAuth2 Proxy is a reverse proxy that provides authentication using OAuth2 providers. Versions 7.5.0 through 7.15.1 may trust a client-supplied `X-Forwarded-Uri` header when `--reverse-proxy` is enabled and `--skip-auth-regex` or `--skip-auth-route` is configured. An attacker can spoof this header so OAuth2 Proxy evaluates authentication and skip-auth rules against a different path than the one actually sent to the upstream application. This can result in an unauthenticated remote attacker bypassing authentication and accessing protected routes without a valid session. Impacted users are deployments that run oauth2-proxy with `--reverse-proxy` enabled and configure at least one `--skip-auth-regex` or `--skip-auth-route` rule. This issue is patched in `v7.15.2`. Some workarounds are available for those who cannot upgrade immediately. Strip any client-provided `X-Forwarded-Uri` header at…
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
9.1
CRITICAL
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (2)
Products (2)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.1 | CVSS 3.1 | CRITICAL | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-290
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1134Access Token Manipulation
- T1528Steal Application Access Token
- T1539Steal Web Session Cookie
References
4 on the record
- github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-7x63-xv5r-3p2x
x_refsource_CONFIRM
- access.redhat.com/security/cve/CVE-2026-40575
vdb-entry, x_refsource_REDHAT
- bugzilla.redhat.com/show_bug.cgi?id=2460449
issue-tracking, x_refsource_REDHAT
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40575.json
x_sadp-csaf-vex
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-93006 Dnsmasq: dnsmasq: tftp prefetch cache keyed on stale heap pointer serves wrong file contentCVSS 6.8
- CVE-2026-102895 GPUStack: Authentication bypass via trusted loopback source (reverse-proxy TCP peer or X-GPUStack-Real-IP header) grants unauthenticated adminCVSS 9.8 · CISA KEV
- CVE-2026-102764 Improper Origin Validation in Internal Messaging Components of BeyondTrust Remote SupportCVSS 9.8 · CISA KEV
- CVE-2024-54085 AMI MegaRAC SPx Authentication Bypass by Spoofing VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2024-4358 Progress Telerik Report Server Authentication Bypass by Spoofing VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2022-24112 Apache APISIX Authentication Bypass VulnerabilityCVSS 9.8 · CISA KEV
Elsewhere on this site
- Oauth2 Proxyevery CVE for this vendor
- Red Hatevery CVE for this vendor
- CWE-290other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.