CVEBrief

Home / oauth2-proxy / oauth2-proxy / CVE-2026-40575

CVE-2026-40575: is it exploited, and which versions of oauth2-proxy are affected and fixed?

CVE-2026-40575 is an authentication bypass by spoofing vulnerability in oauth2-proxy. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: github.com/oauth2-proxy/oauth2-proxy/v7 from 7.5.0 before 7.15.2 (GitHub advisory GHSA-7x63-xv5r-3p2x). Fixed in 7.15.2 (GitHub advisory GHSA-7x63-xv5r-3p2x). Severity: Critical (9.1, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 12:38 UTC
Affected
github.com/oauth2-proxy/oauth2-proxy/v7 from 7.5.0 before 7.15.2
GitHub advisory GHSA-7x63-xv5r-3p2x
Fixed in
7.15.2
GitHub advisory GHSA-7x63-xv5r-3p2x
Severity
Critical 9.1
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
0.49% in 30 days
higher than 43% of CVEs; FIRST, December 2, 2026

What is CVE-2026-40575?

OAuth2 Proxy has an Authentication Bypass via X-Forwarded-Uri Header Spoofing

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 upstream application. This can result in an unauthenticated remote attacker bypassing authentication and accessing protected routes without a valid session. Impacted users are deployments that run oauth2-proxy with `--reverse-proxy` enabled and configure at least one `--skip-auth-regex` or `--skip-auth-route` rule. This issue is patched in `v7.15.2`. Some workarounds are available for those who cannot upgrade immediately. Strip any client-provided `X-Forwarded-Uri` header at the reverse proxy or load balancer level; explicitly overwrite `X-Forwarded-Uri` with the actual request URI before forwarding requests to OAuth2 Proxy; restrict direct client access to OAuth2 Proxy so it can only be reached through a trusted reverse proxy; and/or remove or narrow `--skip-auth-regex` / `--skip-auth-route` rules where possible. For nginx-based deployments, ensure `X-Forwarded-Uri` is set by nginx and not passed through from the client.

From the CVE record by GitHub_M, last updated July 15, 2026, 01:00 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
oauth2-proxyoauth2-proxy>= 7.5.0, < 7.15.2

As the CVE record by GitHub_M states it, last updated July 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Gogithub.com/oauth2-proxy/oauth2-proxy/v7>= 7.5.0, < 7.15.27.15.2GHSA-7x63-xv5r-3p2x

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 21, 2026. Summary: OAuth2 Proxy has an Authentication Bypass via X-Forwarded-Uri Header Spoofing.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
oauth2 proxy projectoauth2 proxyfrom 7.5.0 before 7.15.2application

NVD analysis (status Modified), last modified November 11, 2026, 23:10 UTC.

How severe is CVE-2026-40575?

ScoreVersionVectorSource
Critical 9.1CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NGitHub_M
High 8.7CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:Nredhat-SADP

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-40575 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: total (CISA ADP, April 22, 2026)
EPSS
0.49% probability of exploitation activity in the next 30 days, percentile 43.5 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
April 14, 2026
Published
April 21, 2026, 23:20 UTC
CVE record updated
July 15, 2026, 01:00 UTC by GitHub_M
NVD
Modified, last modified November 11, 2026, 23:10 UTC
Last checked
CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect oauth2-proxy?

Every CVE in oauth2-proxy

Questions about CVE-2026-40575

Is CVE-2026-40575 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.49% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of oauth2-proxy are affected by CVE-2026-40575?

github.com/oauth2-proxy/oauth2-proxy/v7 from 7.5.0 before 7.15.2, per the GitHub advisory GHSA-7x63-xv5r-3p2x. The tables above give every range the sources list.

Which version fixes CVE-2026-40575?

7.15.2, per the GitHub advisory GHSA-7x63-xv5r-3p2x. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-40575?

Critical (9.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2026-40575?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.