Skip to content

CVE-2026-40574 OAuth2 Proxy has an Authorization Bypass in Email Domain Validation via Malformed Multi-@ Email Claims

MediumCVSS 6.8 EPSS 0.22%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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