Authentication Bypass Using an Alternate Path or Channel Affecting github.com/oauth2-proxy/oauth2-proxy/v7/pkg/requests/util 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.28% (19th 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 IDSNYK-GOLANG-GITHUBCOMOAUTH2PROXYOAUTH2PROXYV7PKGREQUESTSUTIL-16120584
  • published22 Apr 2026
  • disclosed22 Apr 2026
  • creditHarsh Jaiswal

Introduced: 22 Apr 2026

CVE-2026-41059  (opens in a new tab)
CWE-288  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Authentication Bypass Using an Alternate Path or Channel in the processing of request paths containing a number sign (#) or its encoded form (%23) when using skip_auth_routes or skip_auth_regex settings. An attacker can gain unauthorized access to protected resources by crafting requests that exploit fragment confusion, causing the proxy to incorrectly match public allowlist rules while the backend serves sensitive content.

Note:

This is only exploitable if the deployment uses skip_auth_routes or skip_auth_regex with patterns that can be widened by attacker-controlled suffixes, and the protected upstream application interprets # as a fragment delimiter or routes the request to the protected base path.

CVSS Base Scores

version 4.0
version 3.1