Live threats

All CVEs / Oauth2 Proxy Project

CVE-2026-40574Oauth2 Proxy Project Oauth2 Proxy

Medium 6.8

Priority
41
CVSS 3.1
6.8
EPSS
—
Auth required
Yes
Published
Apr 21, 2026
Updated
Nov 11, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-863
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Oauth2 Proxy.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/oauth2-proxy/oauth2-proxy all no fixed version —
Go github.com/oauth2-proxy/oauth2-proxy/v7 < 7.15.2 7.15.2 go get github.com/oauth2-proxy/oauth2-proxy/v7@v7.15.2
Go github.com/oauth2-proxy/oauth2-proxy/v7 < 7.15.2 7.15.2 go get github.com/oauth2-proxy/oauth2-proxy/v7@v7.15.2

Per OSV / GitHub Advisories (GO-2026-5314, GHSA-c5c4-8r6x-56w3). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
oauth2_proxy_projectoauth2_proxy< 7.15.2

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.