Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-64484

HIGH 8.5EPSS 44%

OAuth2-Proxy vulnerable to header smuggling via underscore, leading to potential privilege escalation

Also known as BIT-oauth2-proxy-2025-64484, GHSA-vjrc-mh2v-45x6, GO-2025-4113

Mitigation

  • Upgrade github.com/oauth2-proxy/oauth2-proxy/v7 to 7.13.0 or later.

Who should check

  • Projects that depend on Go package github.com/oauth2-proxy/oauth2-proxy/v7 (< 7.13.0)
  • Projects that depend on Go package github.com/oauth2-proxy/oauth2-proxy
  • Anyone running oauth2-proxy < 7.13.0

Vulnerability facts

Affected
github.com/oauth2-proxy/oauth2-proxy/v7 < 7.13.0; github.com/oauth2-proxy/oauth2-proxy
Fixed in
7.13.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
8.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: Low
  • Availability impact: None
EPSS
0.62% chance of exploitation in 30 days (percentile 44, 2026-11-26)
CWE
CWE-644
Published
Modified

Description

OAuth2-Proxy is an open-source tool that can act as either a standalone reverse proxy or a middleware component integrated into existing reverse proxy or load balancer setups. In versions prior to 7.13.0, all deployments of OAuth2 Proxy in front of applications that normalize underscores to dashes in HTTP headers (e.g., WSGI-based frameworks such as Django, Flask, FastAPI, and PHP applications). Authenticated users can inject underscore variants of X-Forwarded-* headers that bypass the proxy’s filtering logic, potentially escalating privileges in the upstream app. OAuth2 Proxy authentication/authorization itself is not compromised. The problem has been patched with v7.13.0. By default all specified headers will now be normalized, meaning that both capitalization and the use of underscores (_) versus dashes (-) will be ignored when matching headers to be stripped. For example, both `X-Forwarded-For` and `X_Forwarded-for` will now be treated as equivalent and stripped away. For those who have a rational that requires keeping a similar looking header and not stripping it, the maintainers introduced a new configuration field for Headers managed through the AlphaConfig called `InsecureSkipHeaderNormalization`. As a workaround, ensure filtering and processing logic in upstream services don't treat underscores and hyphens in Headers the same way.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/oauth2-proxy/oauth2-proxy/v7< 7.13.07.13.0osv
Go github.com/oauth2-proxy/oauth2-proxy——osv
oauth2-proxy< 7.13.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-64484. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-64484.md
Affected: github.com/oauth2-proxy/oauth2-proxy/v7 < 7.13.0; github.com/oauth2-proxy/oauth2-proxy
Fixed in: 7.13.0

Steps:
1. Search this machine and project for github.com/oauth2-proxy/oauth2-proxy/v7 (Go), github.com/oauth2-proxy/oauth2-proxy (Go), oauth2-proxy: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-64484 being exploited?

There is no confirmed exploitation: CVE-2025-64484 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.62% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-64484?

High: CVSS 8.5 (v3.1, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2025-64484?

github.com/oauth2-proxy/oauth2-proxy/v7 < 7.13.0; github.com/oauth2-proxy/oauth2-proxy.

Is there a fix for CVE-2025-64484?

Yes. Fixed in 7.13.0. Upgrade github.com/oauth2-proxy/oauth2-proxy/v7 to 7.13.0 or later.

How do I check if I'm affected by CVE-2025-64484?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors