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
    • 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-2023-37941

CVE-2023-37941: Apache Superset RCE Vulnerability

CVE-2023-37941 is a remote code execution flaw in Apache Superset allowing attackers with database write access to execute arbitrary code. This article covers technical details, affected versions, and mitigation.

Published: February 4, 2026

CVE-2023-37941 Overview

CVE-2023-37941 is an insecure deserialization vulnerability in Apache Superset that allows attackers with write access to the Superset metadata database to persist malicious Python objects, potentially leading to remote code execution on the web backend. The vulnerability affects Apache Superset versions 1.5.0 through 2.1.0 and is classified as CWE-502 (Deserialization of Untrusted Data).

The Superset metadata database is an internal component typically only accessible by system administrators and the Superset process itself. While gaining direct access to this database requires significant privileges, successful exploitation enables attackers to achieve remote code execution with the permissions of the Superset web application.

Critical Impact

Attackers with metadata database access can execute arbitrary Python code on the Superset web backend, potentially compromising the entire data visualization infrastructure and connected data sources.

Affected Products

  • Apache Superset versions 1.5.0 through 2.1.0
  • Apache Superset deployments with exposed metadata database access
  • Environments with insufficiently secured PostgreSQL/MySQL metadata stores

Discovery Timeline

  • 2023-09-06 - CVE-2023-37941 published to NVD
  • 2025-02-13 - Last updated in NVD database

Technical Details for CVE-2023-37941

Vulnerability Analysis

This vulnerability stems from insecure deserialization of Python objects stored within the Apache Superset metadata database. When Superset deserializes stored objects from its metadata database, it fails to properly validate or sanitize the serialized data before processing. An attacker who has obtained write access to the metadata database can craft a malicious serialized Python object that, when deserialized by the Superset application, executes arbitrary code.

The attack requires the attacker to first gain write access to the metadata database—typically a PostgreSQL or MySQL instance—which stores Superset's configuration, dashboard definitions, and other application state. While this prerequisite limits the attack surface, database credentials may be obtained through configuration file exposure, credential stuffing, or compromised administrator accounts.

Root Cause

The root cause is the use of insecure deserialization practices when handling Python objects stored in the metadata database. Python's pickle module or similar serialization mechanisms can deserialize arbitrary objects, including those with malicious __reduce__ methods that execute code during the unpickling process. Apache Superset versions prior to 2.1.1 did not implement sufficient safeguards against deserializing untrusted objects from the database layer.

Attack Vector

The attack is network-based but requires high privileges (database write access) to execute. The exploitation flow involves:

  1. Attacker gains write access to the Superset metadata database through credential theft, SQL injection in another component, or insider access
  2. Attacker crafts a malicious serialized Python object designed to execute code upon deserialization
  3. The malicious payload is inserted into a database field that Superset will later deserialize
  4. When Superset retrieves and deserializes the stored object, the malicious code executes with the privileges of the Superset web application process

The vulnerability can be exploited to establish reverse shells, exfiltrate data from connected data sources, pivot to other internal systems, or achieve persistent access to the Superset infrastructure. Technical details and proof-of-concept information are available in the Packet Storm exploit report.

Detection Methods for CVE-2023-37941

Indicators of Compromise

  • Unexpected or malformed serialized data entries in Superset metadata database tables
  • Unusual process spawning from the Superset web application (e.g., shells, network utilities)
  • Anomalous database queries writing binary or base64-encoded data to metadata tables
  • Outbound network connections from Superset servers to unexpected destinations

Detection Strategies

  • Monitor metadata database access logs for unauthorized write operations or connections from unexpected sources
  • Implement file integrity monitoring on Superset configuration files and database connection strings
  • Deploy application-level logging to track deserialization operations and object instantiation
  • Use network intrusion detection to identify reverse shell traffic or command-and-control communications from Superset hosts

Monitoring Recommendations

  • Enable audit logging on the metadata database (PostgreSQL log_statement or MySQL general_log)
  • Implement alerting for database schema modifications or bulk data insertions to metadata tables
  • Monitor Superset application logs for Python exceptions related to deserialization or pickle operations
  • Correlate database access events with Superset authentication logs to identify unauthorized access patterns

How to Mitigate CVE-2023-37941

Immediate Actions Required

  • Upgrade Apache Superset to version 2.1.1 or later immediately
  • Audit metadata database access credentials and rotate any potentially compromised passwords
  • Review database access logs for suspicious write operations to Superset metadata tables
  • Restrict network access to the metadata database to only the Superset application server

Patch Information

Apache has released version 2.1.1 to address this vulnerability. Users should upgrade to version 2.1.1 or later as recommended in the Apache Security Advisory. The patch implements proper validation and sanitization of serialized objects before deserialization, preventing arbitrary code execution through malicious payloads.

Workarounds

  • Implement strict network segmentation to prevent unauthorized access to the metadata database
  • Use database firewall rules to restrict write operations to metadata tables from authorized sources only
  • Deploy additional authentication layers (mutual TLS, VPN) for database access
  • Consider implementing database activity monitoring solutions to detect and block suspicious serialized data writes
bash
# Example: Restrict PostgreSQL metadata database access to Superset application server only
# postgresql.conf
listen_addresses = 'localhost'

# pg_hba.conf - Allow only specific IP for Superset application
host    superset_db    superset_user    10.0.1.100/32    scram-sha-256
host    superset_db    all              0.0.0.0/0        reject

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechApache Superset

  • SeverityMEDIUM

  • CVSS Score6.6

  • EPSS Probability83.97%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-502
  • Technical References
  • Packet Storm Exploit Report
  • Vendor Resources
  • Apache Security Email Thread
  • Related CVEs
  • CVE-2020-13948: Apache Superset RCE Vulnerability

  • CVE-2026-23969: Apache Superset SQLi Vulnerability

  • CVE-2026-23984: Apache Superset Auth Bypass Vulnerability

  • CVE-2026-23982: Apache Superset 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