CVE-2026-40574: OAuth2 Proxy is a reverse proxy that provides authentication using OAuth2 providers
CVE-2026-40574 is a medium-severity flaw (CVSS 6.8) affecting oauth2 proxy. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
OAuth2 Proxy is a reverse proxy that provides authentication using OAuth2 providers. Prior to 7.15.2, an authorization bypass exists in OAuth2 Proxy as part of the email_domain enforcement option. An attacker may be able to authenticate with an email claim such as attacker@evil.com@company.com and satisfy an allowed domain check for company.com, even though the claim is not a valid email address. The issue ONLY affects deployments that rely on em
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.8 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 89%) |
| CISA exploited list | No |
| Weakness | CWE-863 |
| Published | 2026-04-21 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40574?
oauth2 proxy: upgrade to 7.15.2. Exact commands for each OS are on this page.
Is CVE-2026-40574 being exploited?
CVE-2026-40574 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40574 affect?
CVE-2026-40574 affects oauth2 proxy. Severity is medium (CVSS 6.8). OAuth2 Proxy is a reverse proxy that provides authentication using OAuth2 providers. Prior to 7.15.2, an authorization bypass exists in OAuth2 Proxy as part of the email_domain enforcement option. An attacker may be able to authenticate wit
How urgent is CVE-2026-40574?
Priority 27/100. No elevated risk signals yet.
Related CVEs
- CVE-2026-34457 CRITICAL 9.1 UPGRADE OAuth2 Proxy is a reverse proxy that provides authentication using OAuth2 providers
- CVE-2026-34454 LOW 3.5 UPGRADE OAuth2 Proxy is a reverse proxy that provides authentication using OAuth2 providers
- CVE-2026-40575 CRITICAL 9.1 UPGRADE OAuth2 Proxy is a reverse proxy that provides authentication using OAuth2 providers
- CVE-2026-41059 HIGH 8.2 UPGRADE OAuth2 Proxy is a reverse proxy that provides authentication using OAuth2 providers