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-2024-24213

CVE-2024-24213: Supabase Postgres SQLi Vulnerability

CVE-2024-24213 is a SQL injection flaw in Supabase Postgres v15.1 affecting the /pg_meta/default/query component. This article covers the technical details, affected versions, security impact, and mitigation.

Updated: January 22, 2026

CVE-2024-24213 Overview

CVE-2024-24213 is a reported SQL injection vulnerability affecting Supabase PostgreSQL v15.1. The vulnerability was identified in the /pg_meta/default/query component. However, it is important to note that the vendor disputes this classification, stating that this is an intended feature within the Supabase dashboard product, not the Supabase PostgreSQL product itself. According to Supabase, the /pg_meta/default/query endpoint is designed for SQL queries entered through an authorized user interface, meaning there is no actual injection occurring.

Critical Impact

While initially classified as a SQL injection vulnerability with network-based attack potential, the vendor contends this represents intended functionality for authorized database query execution through the Supabase dashboard SQL Editor.

Affected Products

  • Supabase Postgres v15.1

Discovery Timeline

  • 2024-02-08 - CVE-2024-24213 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-24213

Vulnerability Analysis

The reported vulnerability is classified under CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), commonly known as SQL Injection. The vulnerability allegedly exists in the /pg_meta/default/query component of Supabase PostgreSQL v15.1.

The core of this issue centers on whether the SQL query execution capability represents a security flaw or intended functionality. The component in question allows users to execute SQL queries through the Supabase dashboard interface. Supabase maintains that this feature is by design—the SQL Editor is explicitly intended to allow authorized users to run arbitrary SQL queries against their databases.

This dispute highlights an important distinction in vulnerability classification: features that intentionally provide powerful capabilities to authenticated, authorized users are not inherently vulnerabilities, even if those capabilities could theoretically be misused. The SQL Editor is a core administrative tool for database management within the Supabase platform.

Root Cause

The root cause analysis depends on interpretation. The reporter identified the /pg_meta/default/query endpoint as accepting and executing SQL queries without additional sanitization. From a traditional SQL injection perspective, this would represent a failure to properly sanitize user input before database execution.

However, Supabase's position is that the endpoint functions exactly as designed—it is meant to execute SQL queries provided by authorized users through the dashboard UI. The "injection" is therefore not exploitation but rather the intended use case of a database administration tool. The endpoint requires proper authentication and authorization before queries can be executed.

Attack Vector

The vulnerability is categorized as network-accessible, meaning it could theoretically be exploited remotely. However, the practical attack vector depends heavily on whether an attacker could gain unauthorized access to the Supabase dashboard or bypass authentication mechanisms.

For legitimate users, the SQL Editor provides direct database access as an expected feature. Any exploitation would require:

  1. Compromising user credentials for Supabase dashboard access
  2. Exploiting a separate authentication bypass vulnerability
  3. Man-in-the-middle attacks on authenticated sessions

The disputed nature of this CVE means organizations should evaluate their specific Supabase deployment configurations and access controls rather than treating this as a traditional SQL injection vulnerability requiring immediate patching.

Detection Methods for CVE-2024-24213

Indicators of Compromise

  • Unusual or unauthorized access attempts to the /pg_meta/default/query endpoint
  • Database query logs showing unexpected or malicious SQL commands
  • Authentication anomalies in Supabase dashboard access logs
  • Unexpected data exfiltration or modification patterns in database audit trails

Detection Strategies

  • Monitor authentication logs for the Supabase dashboard to detect unauthorized access attempts
  • Implement database activity monitoring to track all queries executed through the SQL Editor
  • Review access control configurations to ensure only authorized personnel have dashboard access
  • Deploy network monitoring to detect unusual traffic patterns to Supabase endpoints

Monitoring Recommendations

  • Enable comprehensive logging for all database operations and dashboard access
  • Configure alerts for queries that modify database structure or access sensitive tables
  • Regularly audit user access permissions and remove unnecessary privileges
  • Implement session monitoring to detect hijacking or unauthorized session reuse

How to Mitigate CVE-2024-24213

Immediate Actions Required

  • Review and restrict access to the Supabase dashboard to only essential personnel
  • Audit existing dashboard user accounts and remove any unauthorized or unnecessary access
  • Implement strong authentication mechanisms including multi-factor authentication (MFA)
  • Review database query logs for any suspicious activity

Patch Information

As Supabase considers this functionality to be intended behavior rather than a vulnerability, there is no specific security patch addressing this issue. Organizations concerned about this capability should consult the Supabase Database Overview Guide for guidance on proper SQL Editor usage and access control configuration. Additional technical details can be found in the GitHub CVE-2024-24213 Details repository.

Workarounds

  • Implement strict role-based access control (RBAC) for the Supabase dashboard
  • Use network-level restrictions (IP allowlisting) to limit dashboard access to trusted networks
  • Consider implementing a database proxy or query review process for production environments
  • Enable database audit logging to maintain visibility into all executed queries
  • Regularly review and rotate dashboard credentials
bash
# Example: Restrict dashboard access via network configuration
# Configure firewall rules to limit access to Supabase dashboard
# Allow only specific IP ranges for administrative access

# Review current dashboard users and permissions
# Audit authentication logs for unauthorized access attempts
# Enable MFA for all dashboard user accounts

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechSupabase

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.97%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Technical References
  • Flows Project Access

  • GitHub CVE-2024-24213 Details

  • PostfixAdmin Project Logs

  • Example Project Logs Explorer
  • Vendor Resources
  • Supabase Database Overview Guide
  • Latest CVEs
  • CVE-2026-35467: Browser API Key Information Disclosure

  • CVE-2026-35466: cveInterface.js XSS Vulnerability

  • CVE-2026-30252: ZenShare Suite XSS Vulnerability

  • CVE-2026-30251: ZenShare Suite v17.0 XSS Vulnerability
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