{"id":"CVE-2026-40574","published":"2026-04-21T16:32:34Z","modified":"2026-04-21T20:37:28Z","title":"OAuth2 Proxy has an Authorization Bypass in Email Domain Validation via Malformed Multi-@ Email Claims","vendor":"oauth2-proxy","product":"oauth2-proxy","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00217,"percentile":0.12375,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-c5c4-8r6x-56w3","tags":["x_refsource_CONFIRM"]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":2.48},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"oauth2-proxy","affectedVersions":[{"vendor":"oauth2-proxy","product":"oauth2-proxy","versions":["< 7.15.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-04-21T20:18:57.843784Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/oauth2-proxy/oauth2-proxy/v7","vulnerableRanges":["<7.15.2"],"patched":["7.15.2"],"from":["GHSA-c5c4-8r6x-56w3","GO-2026-5314"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/oauth2-proxy/oauth2-proxy","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5314"],"provenance":"source"}],"summary":{"text":"OAuth2 Proxy, a reverse proxy that provides authentication through OAuth2 providers, has an authorization bypass in its email_domain enforcement option, where malformed email claims containing multiple \"@\" characters (such as attacker@evil.com@company.com) can satisfy an allowed-domain check. An attacker with low privileges on the network can exploit this when the deployment relies on email_domain restrictions and accepts email claims from identity providers or claim mappings that do not strictly enforce email syntax, and the attack is high complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:14:43Z"},"euvd":{"id":"EUVD-2026-24175","exploited":false,"provenance":"source"}}