Skip to main content

Authentication Bypass by Spoofing

CVE-2026-40575

Severity High
Score 9.1/10

Summary

A configuration-dependent authentication bypass exists in OAuth2 Proxy. Deployments are affected when all of the following are true. OAuth2 Proxy is configured with --reverse-proxy and at least one rule is defined with --skip_auth_routes or the legacy --skip-auth-regex. OAuth2 Proxy may trust a client-supplied X-Forwarded-Uri header when --reverse-proxy is enabled and --skip-auth-route or --skip-auth-regex 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 upstream application. This can result in an unauthenticated remote attacker bypassing authentication and accessing protected routes without a valid session. This affects versions starting from 7.5.0 prior to 7.15.2

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • NONE

CWE-290 - Authentication Bypass by Spoofing

This attack-focused weakness is caused by improperly implemented authentication schemes that are subject to spoofing attacks.

References

Advisory Timeline

  • Published