Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2026-40574

CVE-2026-40574: OAuth2 Proxy Auth Bypass Vulnerability

CVE-2026-40574 is an authentication bypass flaw in OAuth2 Proxy affecting email_domain enforcement. Attackers can bypass domain checks using malformed email claims. This article covers technical details, affected versions, and fixes.

Published: April 23, 2026

CVE-2026-40574 Overview

OAuth2 Proxy is a widely used reverse proxy that provides authentication using OAuth2 providers. A critical authorization bypass vulnerability exists in versions prior to 7.15.2 as part of the email_domain enforcement option. An attacker may be able to authenticate with a malformed email claim such as attacker@evil.com@company.com and satisfy an allowed domain check for company.com, even though the claim is not a valid email address.

Critical Impact

Attackers can bypass email domain restrictions and gain unauthorized access to protected resources by crafting malicious email claims that exploit improper parsing of the email format.

Affected Products

  • OAuth2 Proxy versions prior to 7.15.2
  • Deployments using email_domain restrictions
  • Configurations accepting email claims from identity providers that do not strictly enforce email syntax

Discovery Timeline

  • 2026-04-21 - CVE CVE-2026-40574 published to NVD
  • 2026-04-22 - Last updated in NVD database

Technical Details for CVE-2026-40574

Vulnerability Analysis

This authorization bypass vulnerability (CWE-863: Incorrect Authorization) stems from improper validation of email addresses in the email_domain enforcement mechanism. The OAuth2 Proxy fails to properly parse and validate email claim formats before performing domain matching, allowing specially crafted email strings to bypass domain restrictions.

The vulnerability specifically affects deployments that rely on email_domain restrictions to limit access based on the user's email domain. When an identity provider or claim mapping does not strictly enforce standard email syntax (RFC 5321/5322), an attacker can exploit this weakness by submitting malformed email claims.

Root Cause

The root cause lies in the insufficient validation logic within the email domain extraction routine. When processing an email claim like attacker@evil.com@company.com, the domain extraction algorithm incorrectly identifies company.com as the email domain instead of properly rejecting the malformed input or correctly parsing it as an invalid email address. This occurs because the parsing logic does not account for the presence of multiple @ symbols in the email string.

Attack Vector

The attack is network-based and requires low privileges (an authenticated session with an identity provider). The attacker must craft a malicious email claim through their identity provider profile or exploit a claim mapping that passes through unsanitized values.

The exploitation requires the following conditions:

  1. Target deployment uses email_domain restrictions for access control
  2. Identity provider or claim mapping allows non-standard email formats
  3. Attacker can register or modify their email claim at the identity provider

The attacker constructs an email in the format attacker@attacker-domain.com@allowed-domain.com. When OAuth2 Proxy parses this email to extract the domain for validation, it incorrectly identifies allowed-domain.com as the domain, matching the allowlist and granting unauthorized access.

Detection Methods for CVE-2026-40574

Indicators of Compromise

  • Unusual email addresses in authentication logs containing multiple @ symbols
  • Successful authentication events from users with malformed email claims
  • Access logs showing users whose email domains should not be permitted by email_domain restrictions
  • Identity provider audit logs showing email addresses that do not conform to standard RFC email format

Detection Strategies

  • Review OAuth2 Proxy access logs for email addresses containing multiple @ symbols or other non-standard formats
  • Implement log analysis rules to flag authentication attempts with malformed email claims
  • Cross-reference authenticated user emails against expected domain patterns using strict regex validation
  • Monitor for privilege escalation or unauthorized resource access following suspicious authentication events

Monitoring Recommendations

  • Enable verbose logging in OAuth2 Proxy to capture full email claim values during authentication
  • Set up alerts for authentication events where the email claim contains irregular patterns
  • Implement SIEM rules to correlate OAuth2 Proxy authentication logs with subsequent access patterns
  • Regularly audit identity provider configurations to ensure email claim validation is properly enforced

How to Mitigate CVE-2026-40574

Immediate Actions Required

  • Upgrade OAuth2 Proxy to version 7.15.2 or later immediately
  • Review authentication logs for evidence of exploitation attempts using malformed email addresses
  • Audit identity provider configurations to ensure strict email format validation
  • Consider implementing additional validation at the application layer for email domain enforcement

Patch Information

The vulnerability is fixed in OAuth2 Proxy version 7.15.2. Organizations should upgrade to this version or later as soon as possible. The fix addresses the improper email parsing by enforcing strict email syntax validation before domain extraction.

For detailed patch information and security advisory, see the GitHub Security Advisory.

Workarounds

  • Configure identity providers to strictly validate and normalize email addresses before issuing claims
  • Implement additional email validation middleware between the identity provider and OAuth2 Proxy
  • Use alternative authentication mechanisms that do not rely on email_domain restrictions until patching is complete
  • Apply network-level access controls to limit exposure of protected resources while remediation is in progress
bash
# Verify OAuth2 Proxy version after upgrade
oauth2-proxy --version
# Expected output: oauth2-proxy v7.15.2 or higher

# Review logs for potential exploitation attempts
grep -E '@.*@' /var/log/oauth2-proxy/access.log

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

  • SeverityMEDIUM

  • CVSS Score6.8

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-863
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-41059: OAuth2 Proxy Auth Bypass Vulnerability

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

  • CVE-2026-34457: OAuth2 Proxy Authentication Bypass Issue

  • CVE-2026-34454: OAuth2 Proxy Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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