The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-31813

CVE-2026-31813: Supabase Auth Bypass Vulnerability

CVE-2026-31813 is an authentication bypass vulnerability in Supabase Auth that allows attackers to issue sessions for arbitrary users via crafted ID tokens. This article covers the technical details, affected versions, and patches.

Published: March 13, 2026

CVE-2026-31813 Overview

A critical authentication bypass vulnerability has been identified in Supabase Auth, a JWT-based API for managing users and issuing JWT tokens. Prior to version 2.185.0, an attacker can issue sessions for arbitrary users by exploiting improper validation of OIDC ID tokens when Apple or Azure providers are enabled.

The vulnerability allows an attacker to craft valid, asymmetrically signed ID tokens from their own issuer for victim email addresses. When these malicious tokens are sent to the Supabase Auth token endpoint using the ID token flow, the Auth server validates them against the attacker-controlled issuer instead of the legitimate provider. This results in the victim's existing OIDC identity (Apple or Azure) being linked to an additional OIDC identity controlled by the attacker, enabling the attacker to obtain valid user sessions at the AAL1 level.

Critical Impact

Attackers can hijack user sessions by exploiting OIDC token validation flaws, gaining unauthorized access to victim accounts when Apple or Azure authentication providers are enabled.

Affected Products

  • Supabase Auth versions prior to 2.185.0
  • Applications using Apple OAuth provider with Supabase Auth
  • Applications using Azure OAuth provider with Supabase Auth

Discovery Timeline

  • 2026-03-11 - CVE CVE-2026-31813 published to NVD
  • 2026-03-12 - Last updated in NVD database

Technical Details for CVE-2026-31813

Vulnerability Analysis

This vulnerability is classified as CWE-290 (Authentication Bypass by Spoofing), representing a fundamental flaw in how the Supabase Auth server validates OIDC ID tokens from federated identity providers.

The core issue stems from insufficient verification of the token issuer during the ID token validation process. When processing ID tokens for Apple or Azure authentication flows, the Auth server fails to properly verify that the token's issuer (iss claim) matches the expected legitimate provider. This allows an attacker to substitute a malicious issuer that they control while maintaining OIDC compliance.

The attack is particularly dangerous because it targets the trust relationship between the application and federated identity providers. By exploiting this validation gap, attackers can effectively impersonate any user who has previously authenticated via Apple or Azure providers.

Root Cause

The root cause lies in the improper validation of OIDC ID token issuers within the Supabase Auth token endpoint. When processing ID tokens, the server validates the token's cryptographic signature and OIDC compliance but fails to enforce strict issuer verification. This allows tokens signed by arbitrary issuers to be accepted as valid, as long as they conform to OIDC specifications.

The vulnerability specifically affects the ID token flow where tokens are submitted directly to the Auth server rather than being obtained through the standard OAuth authorization code flow with proper redirect URI validation.

Attack Vector

The attack follows a network-based exploitation path requiring no user interaction or prior authentication. An attacker exploiting this vulnerability would:

  1. Identify a target application using Supabase Auth with Apple or Azure providers enabled
  2. Obtain or enumerate victim email addresses associated with the target application
  3. Set up a malicious OIDC-compliant identity provider under attacker control
  4. Generate valid, asymmetrically signed ID tokens for each victim email address using the malicious issuer
  5. Submit these crafted ID tokens to the Supabase Auth token endpoint using the ID token flow
  6. The Auth server validates the token against the attacker-controlled issuer and issues access/refresh tokens
  7. The attacker receives valid AAL1 session tokens, gaining unauthorized access to victim accounts

The attack exploits the OIDC ID token validation mechanism during federated authentication. When a malicious token is submitted, the Auth server's validation logic accepts it as legitimate because the token is technically OIDC-compliant, even though the issuer is not an authorized identity provider. For detailed technical information, refer to the GitHub Security Advisory.

Detection Methods for CVE-2026-31813

Indicators of Compromise

  • Multiple authentication events from unexpected OIDC issuers for the same user account
  • Session tokens issued for accounts without corresponding legitimate Apple or Azure authentication flows
  • Anomalous linking of additional OIDC identities to existing user accounts
  • Authentication requests with ID tokens containing unusual or unrecognized iss claims

Detection Strategies

  • Monitor authentication logs for ID token submissions with issuers that don't match configured Apple or Azure provider endpoints
  • Implement alerting for multiple OIDC identity linkages to a single user account within short time windows
  • Review authentication audit trails for sessions created without corresponding OAuth authorization code exchanges
  • Deploy Web Application Firewalls (WAF) rules to inspect and validate ID token payloads

Monitoring Recommendations

  • Enable detailed logging for all OIDC token validation events including issuer verification results
  • Establish baseline patterns for legitimate Apple and Azure authentication flows to detect anomalies
  • Configure alerts for failed issuer validation attempts that could indicate reconnaissance activity
  • Monitor for bulk authentication attempts targeting multiple user email addresses

How to Mitigate CVE-2026-31813

Immediate Actions Required

  • Upgrade Supabase Auth to version 2.185.0 or later immediately
  • Audit authentication logs for any suspicious OIDC identity linkages that may indicate prior exploitation
  • Review all user sessions and consider invalidating active tokens if compromise is suspected
  • Temporarily disable Apple and Azure providers if immediate patching is not possible

Patch Information

Supabase has released version 2.185.0 which addresses this vulnerability by implementing proper issuer validation for OIDC ID tokens. The fix ensures that ID tokens are only accepted from configured, legitimate identity providers (Apple and Azure) and rejects tokens from unauthorized issuers.

Organizations should prioritize upgrading to the patched version. For detailed information about the fix, consult the GitHub Security Advisory.

Workarounds

  • If immediate patching is not feasible, consider temporarily disabling Apple and Azure authentication providers until the upgrade can be completed
  • Implement additional network-level controls to restrict access to the Auth token endpoint
  • Deploy monitoring to detect and alert on suspicious authentication patterns while awaiting the patch
  • Consider implementing additional authentication factors (MFA) to reduce the impact of potential session hijacking
bash
# Configuration example - Upgrade Supabase Auth
# Update to patched version 2.185.0 or later
npm update @supabase/auth-helpers-nextjs
# or for direct Supabase Auth server deployments
docker pull supabase/gotrue:v2.185.0

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechSupabase Auth

  • SeverityMEDIUM

  • CVSS Score4.8

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-290
  • Technical References
  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal 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