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

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-04-15T19:23:54.000Z
- Modified: 2026-11-11T23:10:00.263Z
- Also known as: GHSA-c5c4-8r6x-56w3, BIT-OAUTH2-PROXY-2026-40574, GO-2026-5314
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- oauth2-proxy oauth2-proxy: < 7.15.2
- github.com/oauth2-proxy/oauth2-proxy/v7 (Go): before 7.15.2
- github.com/oauth2-proxy/oauth2-proxy (Go): all versions
- oauth2_proxy_project oauth2_proxy: before 7.15.2
- oauth2-proxy (Bitnami): before 7.15.2

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-c5c4-8r6x-56w3> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40574> (advisory, web)
- <https://github.com/oauth2-proxy/oauth2-proxy> (package)

## Sources

- CVE List: [CVE-2026-40574](https://www.cve.org/CVERecord?id=CVE-2026-40574), CVE Terms of Use, modified 2026-04-21
- GitHub Advisory Database: [GHSA-c5c4-8r6x-56w3](https://github.com/advisories/GHSA-c5c4-8r6x-56w3), CC-BY-4.0, modified 2026-07-21
- Go Vulnerability Database: [GO-2026-5314](https://pkg.go.dev/vuln/GO-2026-5314), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-40574](https://nvd.nist.gov/vuln/detail/CVE-2026-40574), Public domain, modified 2026-11-11
- Bitnami Vulnerability Database: [BIT-OAUTH2-PROXY-2026-40574](https://osv.dev/vulnerability/BIT-OAUTH2-PROXY-2026-40574), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-40574 · Whole record: https://cve.day/CVE-2026-40574.json · Rebuilt by cve.day 2026-11-25T22:59:19.117Z
