CVE-2026-40574 OAuth2 Proxy has an Authorization Bypass in Email Domain Validation via Malformed Multi-@ Email Claims
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Red Hat
Description
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 email_domain restrictions and accept email claim values from identity providers or claim mappings that do not strictly enforce normal email syntax. This vulnerability is fixed in 7.15.2.
Upgrade path
4 packages: 1 fixed, 1 partially fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/rhceph/oauth2-proxy-rhel9(Red Hat ceph_storage 9) | All versions | No fix listed | No fix yet |
| oauth2-proxy(Go) | < 7.15.2; All versions | 7.15.2 | Partially fixed |
| oauth2 proxy project oauth2 proxy | < 7.15.2 | 7.15.2 | Fixed |
| oauth2-proxy | = < 7.15.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| oauth2-proxy(Go) | < 7.15.2 | 7.15.2 |
| oauth2-proxy(Go) | All versions | No fix listed |
| oauth2-proxy | = < 7.15.2 | No fix listed |
| redhat/rhceph/oauth2-proxy-rhel9(Red Hat:ceph_storage:9) | All versions | No fix listed |
| oauth2 proxy project oauth2 proxy | < 7.15.2 | 7.15.2 |
References
- https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-c5c4-8r6x-56w3 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2460160 issue-tracking
- www.cve.org