CRITICAL9.1
GO-2026-5147
OAuth2 Proxy's Health Check User-Agent Matching Bypasses Authentication in auth_request Mode in github.com/oauth2-proxy/oauth2-proxy
Quick fix
GO-2026-5147 — github.com/oauth2-proxy/oauth2-proxy/v7: upgrade to the fixed version with the command below.
go get github.com/oauth2-proxy/oauth2-proxy/v7@v7.15.2Details
OAuth2 Proxy's Health Check User-Agent Matching Bypasses Authentication in auth_request Mode in github.com/oauth2-proxy/oauth2-proxy
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/oauth2-proxy/oauth2-proxy
Introduced in:
0No fixed version published yet for github.com/oauth2-proxy/oauth2-proxy (go modules). Pin to a known-safe version or switch to an alternative.
Go/github.com/oauth2-proxy/oauth2-proxy/v7
Introduced in:
0Fixed in: 7.15.2Fix
go get github.com/oauth2-proxy/oauth2-proxy/v7@v7.15.2