CVE-2026-40575: Vulnerability in Oauth2 Proxy Project Oauth2 Proxy

Critical. OAuth2 Proxy is a reverse proxy that provides authentication using OAuth2 providers. Versions 7.5.0 through 7.15.1 may trust a client-supplied X-Forwarded-Uri header when --reverse-proxy is enabled and --skip-auth-regex or --skip-auth-route is configured. An attacker can spoof this header so OAuth2 Proxy evaluates authentication and skip-auth rules against a different path than the one actually sent to the...

Go, CWE-290

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-7x63-xv5r-3p2x
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-290
Published
15 Apr 2026
Last change
11 Nov 2026
Ecosystem
Go

Affected products

Affected versions and the first fixed release

  • Oauth2 Proxy Project Oauth2 Proxy From 7.5.0 before 7.15.2. Fixed in 7.15.2

Affected packages

Vulnerable version ranges and fixed releases

  • github.com/oauth2-proxy/oauth2-proxy/v7 Go, Affected from 7.5.0 before 7.15.2. Fixed in 7.15.2

Advisories

Vendor and security advisories

Related