Incorrect Authorization Affecting github.com/oauth2-proxy/oauth2-proxy/v7 package, versions <7.15.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.21% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMOAUTH2PROXYOAUTH2PROXYV7-16121198
  • published22 Apr 2026
  • disclosed21 Apr 2026
  • creditkodareef5

Introduced: 21 Apr 2026

CVE-2026-40574  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade github.com/oauth2-proxy/oauth2-proxy/v7 to version 7.15.2 or higher.

Overview

github.com/oauth2-proxy/oauth2-proxy/v7 is a reverse proxy that provides authentication with Google, Github or other providers.

Affected versions of this package are vulnerable to Incorrect Authorization in the email domain validation. An attacker can gain unauthorized access by submitting a specially crafted email claim containing multiple '@' characters, such as attacker@evil.com@company.com, which may bypass domain restrictions. This is only exploitable if the deployment relies on email domain restrictions and accepts email claim values from identity providers or claim mappings that do not strictly enforce normal email syntax.

CVSS Base Scores

version 4.0
version 3.1