# CVE-2025-64484: OAuth2-Proxy vulnerable to header smuggling via underscore, leading to potential privilege escalation

- Severity: High 8.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.67%, higher than 53% of CVEs (2026-12-02)
- Published: 2025-11-10T21:33:58.018Z
- Modified: 2026-06-17T09:54:26.523Z
- Also known as: GHSA-vjrc-mh2v-45x6, BIT-OAUTH2-PROXY-2025-64484, GO-2025-4113
- Weaknesses: CWE-644
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- oauth2-proxy oauth2-proxy: < 7.13.0
- github.com/oauth2-proxy/oauth2-proxy/v7 (Go): before 7.13.0
- github.com/oauth2-proxy/oauth2-proxy (Go): all versions
- oauth2-proxy (Bitnami): before 7.13.0

## Every score

- GitHub_M: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N`
- GitHub: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-vjrc-mh2v-45x6> (advisory, web)
- <https://datatracker.ietf.org/doc/html/rfc2616#section-4.2> (web)
- <https://datatracker.ietf.org/doc/html/rfc822#section-3.2> (web)
- <https://github.security.telekom.com/2020/05/smuggling-http-headers-through-reverse-proxies.html> (web)
- <https://www.uptimia.com/questions/why-are-http-headers-with-underscores-dropped-by-nginx> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-64484> (advisory, web)
- <https://github.com/oauth2-proxy/oauth2-proxy/commit/f3f30fa976fb4bb97d6345ba4735cb6d86e24f95> (fix, web)
- <https://github.com/oauth2-proxy/oauth2-proxy> (package)
- <https://github.com/oauth2-proxy/oauth2-proxy/releases/tag/v7.13.0> (web)

## Sources

- CVE List: [CVE-2025-64484](https://www.cve.org/CVERecord?id=CVE-2025-64484), CVE Terms of Use, modified 2025-11-14
- GitHub Advisory Database: [GHSA-vjrc-mh2v-45x6](https://github.com/advisories/GHSA-vjrc-mh2v-45x6), CC-BY-4.0, modified 2025-11-17
- Go Vulnerability Database: [GO-2025-4113](https://pkg.go.dev/vuln/GO-2025-4113), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-64484](https://nvd.nist.gov/vuln/detail/CVE-2025-64484), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-OAUTH2-PROXY-2025-64484](https://osv.dev/vulnerability/BIT-OAUTH2-PROXY-2025-64484), Apache-2.0, modified 2025-11-17

---

Page: https://cve.day/CVE-2025-64484 · Whole record: https://cve.day/CVE-2025-64484.json · Rebuilt by cve.day 2026-11-25T22:59:07.418Z
