A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-64484

CVE-2025-64484: OAuth2-Proxy Auth Bypass Vulnerability

CVE-2025-64484 is an authentication bypass flaw in OAuth2-Proxy affecting deployments protecting WSGI-based apps. Attackers can inject underscore variants of headers to escalate privileges. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: May 26, 2026

CVE-2025-64484 Overview

CVE-2025-64484 affects OAuth2-Proxy, an open-source reverse proxy and middleware component used to add authentication and authorization in front of upstream applications. The vulnerability exists in versions prior to 7.13.0 and allows authenticated users to inject underscore variants of X-Forwarded-* headers that bypass the proxy's header filtering logic. Upstream frameworks that normalize underscores to dashes in HTTP headers — including Django, Flask, FastAPI, and PHP-based applications — accept these forged headers as legitimate. This enables privilege escalation within the upstream application. OAuth2-Proxy's authentication and authorization flows themselves remain intact.

Critical Impact

Authenticated attackers can spoof identity and forwarded-address headers to escalate privileges in upstream applications that treat X_Forwarded-For and X-Forwarded-For as equivalent.

Affected Products

  • OAuth2-Proxy versions prior to 7.13.0
  • Deployments fronting WSGI-based frameworks (Django, Flask, FastAPI)
  • Deployments fronting PHP applications that normalize header underscores to dashes

Discovery Timeline

  • 2025-11-10 - CVE-2025-64484 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-64484

Vulnerability Analysis

The flaw is an Improper Neutralization of HTTP Headers for Scripting Syntax issue [CWE-644]. OAuth2-Proxy strips and rewrites a defined set of X-Forwarded-* headers before passing requests to upstream services. The filtering logic performs case-insensitive matching but treats underscores and dashes as distinct characters. An authenticated client can submit a header such as X_Forwarded-For or X_Forwarded_User, which OAuth2-Proxy does not recognize as a forwarded-identity header and therefore forwards unchanged.

Upstream frameworks built on WSGI or PHP follow common server conventions that fold underscores and dashes together when exposing headers to application code. The attacker-supplied X_Forwarded-User header arrives at the upstream as X-Forwarded-User, overriding the trusted value set by the proxy. The upstream application then makes authorization decisions based on attacker-controlled input.

Root Cause

The root cause is inconsistent header name normalization between OAuth2-Proxy and downstream HTTP frameworks. The proxy's strip list only matched canonical hyphenated names, while WSGI and PHP runtimes coerce _ to - when populating environment variables and request objects. This mismatch creates a parser-differential condition that defeats the trust boundary the proxy is meant to enforce.

Attack Vector

An authenticated user crafts an HTTP request that includes an underscore-variant header, for example X_Forwarded-Email: admin@example.com or X_Forwarded-Groups: administrators. OAuth2-Proxy's filter does not strip the header because it does not match the configured dash-form name. The request reaches the upstream application, which reads the header through its normalized request interface and treats the value as authoritative identity or group membership data. The attacker thereby impersonates other users or claims elevated group memberships without compromising the OAuth2 authentication exchange itself.

No proof-of-concept exploitation code has been published in the referenced advisories. Technical details are available in the GitHub Security Advisory GHSA-vjrc-mh2v-45x6 and the Telekom analysis of HTTP header smuggling.

Detection Methods for CVE-2025-64484

Indicators of Compromise

  • Inbound HTTP requests containing headers with underscores in the X_Forwarded-* family, such as X_Forwarded-User, X_Forwarded-Email, X_Forwarded-Groups, or X_Forwarded-For.
  • Upstream application logs showing identity or group values that do not match the OAuth2-Proxy session for the same request ID.
  • Discrepancies between OAuth2-Proxy access logs and downstream audit logs for the authenticated principal.

Detection Strategies

  • Inspect HTTP traffic at the edge or in upstream access logs for header names containing _ followed by Forwarded, User, Email, Groups, or Access-Token.
  • Correlate authentication events emitted by OAuth2-Proxy with the identity claims observed by the upstream application. Mismatches indicate header spoofing.
  • Add WAF or ingress controller rules that explicitly reject or alert on request headers matching the regex ^X_[A-Za-z-]+.

Monitoring Recommendations

  • Enable verbose request header logging on upstream applications during incident triage to capture the raw header names received.
  • Monitor OAuth2-Proxy version inventory across clusters to confirm all instances run 7.13.0 or later.
  • Alert on authorization decisions where the principal identifier differs from the OAuth2-Proxy session identifier within the same request trace.

How to Mitigate CVE-2025-64484

Immediate Actions Required

  • Upgrade OAuth2-Proxy to version 7.13.0 or later, which normalizes both capitalization and underscore-versus-dash differences when matching headers to strip.
  • Audit upstream applications for any code paths that trust X-Forwarded-* headers for identity, authorization, or source-address decisions.
  • Reject inbound requests at the ingress layer that contain HTTP headers with underscores in identity-related names.

Patch Information

The fix is included in OAuth2-Proxy v7.13.0. By default, all specified headers are now normalized so that X-Forwarded-For and X_Forwarded-for are treated as equivalent and stripped. Maintainers added a new AlphaConfig field, InsecureSkipHeaderNormalization, for operators who require the previous behavior. Full release details are available in the OAuth2-Proxy GitHub Security Advisory.

Workarounds

  • Configure upstream services so that header filtering and parsing logic does not treat underscores and hyphens as equivalent.
  • Place a WAF or ingress filter in front of OAuth2-Proxy that drops any client-supplied header beginning with X_ before the request reaches the proxy.
  • Restrict trusted forwarded-header processing in upstream applications to a fixed list of canonical, hyphenated names read from a server-controlled source rather than the request.
bash
# Example NGINX ingress rule to drop client-supplied underscore-variant identity headers
more_clear_input_headers 'X_Forwarded-For' 'X_Forwarded-User' 'X_Forwarded-Email' 'X_Forwarded-Groups' 'X_Forwarded-Access-Token' 'X_Forwarded-Preferred-Username';

# Optionally reject any header name containing an underscore before it reaches OAuth2-Proxy
if ($http_name ~* "^X_") { return 400; }

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechOauth2 Proxy

  • SeverityHIGH

  • CVSS Score8.5

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-644
  • Technical References
  • RFC 2616 HTTP Specification

  • RFC 822 Email Format Specification

  • GitHub Security Advisory

  • Telekom Blog on HTTP Smuggling

  • Uptimia Guide on HTTP Headers
  • Related CVEs
  • CVE-2026-40574: OAuth2 Proxy Auth Bypass Vulnerability

  • CVE-2026-41059: OAuth2 Proxy Auth Bypass Vulnerability

  • CVE-2026-40575: OAuth2 Proxy Auth Bypass Vulnerability

  • CVE-2026-34457: OAuth2 Proxy Authentication Bypass Issue
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English