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

CVE-2024-53947: Apache Superset SQL Injection Vulnerability

CVE-2024-53947 is a SQL injection flaw in Apache Superset that allows attackers to bypass SQL authorization checks. This article covers the technical details, affected versions, security impact, and mitigation.

Published: May 26, 2026

CVE-2024-53947 Overview

CVE-2024-53947 is a SQL injection vulnerability in Apache Superset that allows authenticated users to bypass the application's SQL authorization controls. The flaw exists because certain engine-specific PostgreSQL functions were not included in the disallowed functions list. This issue is a follow-up to CVE-2024-39887, extending the disallow list to cover query_to_xml_and_xmlschema, table_to_xml, and table_to_xml_and_xmlschema. The vulnerability affects all Apache Superset releases prior to version 4.1.0 and is tracked under [CWE-89].

Critical Impact

Authenticated attackers can leverage unfiltered PostgreSQL XML functions to bypass Apache Superset SQL authorization and access data outside their permitted scope.

Affected Products

  • Apache Superset versions prior to 4.1.0
  • Deployments using PostgreSQL as a backend database
  • Apache Superset instances relying on the default DISALLOWED_SQL_FUNCTIONS configuration

Discovery Timeline

  • 2024-12-09 - CVE-2024-53947 published to NVD
  • 2025-07-15 - Last updated in NVD database

Technical Details for CVE-2024-53947

Vulnerability Analysis

Apache Superset enforces SQL authorization by maintaining a list of disallowed SQL functions that users cannot invoke within queries. The authorization layer inspects submitted SQL for blocked function names before sending it to the underlying database engine. PostgreSQL exposes several engine-specific functions that can read table contents and return them as XML, including query_to_xml_and_xmlschema, table_to_xml, and table_to_xml_and_xmlschema.

Because these functions were absent from Superset's DISALLOWED_SQL_FUNCTIONS configuration prior to version 4.1.0, an authenticated user could invoke them to read data from tables that the authorization layer would otherwise block. The vulnerability extends the prior fix in CVE-2024-39887, which addressed a similar bypass with a different set of functions. The EPSS score is approximately 0.4%, indicating low predicted exploitation probability.

Root Cause

The root cause is an incomplete denylist. Apache Superset's authorization logic relies on enumerating dangerous engine-specific functions, but the original list did not include PostgreSQL's XML export functions. Denylist-based controls are inherently fragile when the underlying database engine continues to expose alternative paths to the same data.

Attack Vector

An attacker requires an authenticated Superset account with permission to submit SQL queries against a PostgreSQL data source. The attacker crafts a query that invokes one of the missing functions, such as table_to_xml, against a target table. The function returns the table contents as XML, effectively bypassing per-table authorization checks enforced elsewhere in Superset.

No public proof-of-concept is listed, and the vulnerability is not in the CISA Known Exploited Vulnerabilities catalog. Verified code examples are not available; refer to the Apache Mailing List Thread for the project's technical disclosure.

Detection Methods for CVE-2024-53947

Indicators of Compromise

  • SQL queries submitted through Superset containing the strings table_to_xml, table_to_xml_and_xmlschema, or query_to_xml_and_xmlschema.
  • Unexpected XML-formatted result sets returned to user sessions in Superset query logs.
  • Authenticated users querying tables outside their normal access patterns or business role.

Detection Strategies

  • Inspect Superset query history and PostgreSQL pg_stat_statements for invocations of the three XML export functions.
  • Correlate Superset user identity with the tables referenced inside XML function arguments to identify authorization bypass attempts.
  • Alert on Superset versions below 4.1.0 detected through software inventory scans.

Monitoring Recommendations

  • Forward Superset application logs and PostgreSQL audit logs to a centralized analytics platform for query-level review.
  • Track query patterns per user to baseline normal SQL Lab activity and flag deviations.
  • Monitor configuration drift on the DISALLOWED_SQL_FUNCTIONS setting to ensure the denylist remains in place after deployments.

How to Mitigate CVE-2024-53947

Immediate Actions Required

  • Upgrade Apache Superset to version 4.1.0 or later, which ships with the corrected denylist.
  • If upgrading is not immediately feasible, add query_to_xml_and_xmlschema, table_to_xml, and table_to_xml_and_xmlschema to the DISALLOWED_SQL_FUNCTIONS configuration.
  • Audit existing Superset user roles and remove SQL Lab access from accounts that do not require it.

Patch Information

Apache released the fix in Apache Superset 4.1.0. The patch extends the built-in DISALLOWED_SQL_FUNCTIONS set to include the three PostgreSQL XML export functions. See the Apache Mailing List Thread for the project announcement.

Workarounds

  • Override DISALLOWED_SQL_FUNCTIONS in superset_config.py to include the affected PostgreSQL functions until the upgrade is applied.
  • Restrict the PostgreSQL role used by Superset so it cannot read tables outside the intended dataset scope.
  • Disable SQL Lab for users who only require dashboard or chart access.
bash
# Configuration example - superset_config.py
DISALLOWED_SQL_FUNCTIONS = {
    'postgresql': {
        'query_to_xml',
        'query_to_xml_and_xmlschema',
        'table_to_xml',
        'table_to_xml_and_xmlschema',
        'database_to_xml',
    },
}

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechApache Superset

  • SeverityLOW

  • CVSS Score2.3

  • EPSS Probability0.40%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-89
  • Vendor Resources
  • Apache Mailing List Thread
  • Related CVEs
  • CVE-2026-23969: Apache Superset SQLi Vulnerability

  • CVE-2026-23980: Apache Superset SQLi Vulnerability

  • CVE-2024-39887: Apache Superset SQL Injection Vulnerability

  • CVE-2024-34693: Apache Superset SQLi Vulnerability
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