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

CVE-2023-49736: Apache Superset SQL Injection Vulnerability

CVE-2023-49736 is a SQL injection flaw in Apache Superset's where_in JINJA macro that enables attackers to execute malicious SQL queries. This article covers the technical details, affected versions, and mitigation steps.

Published: January 28, 2026

CVE-2023-49736 Overview

A SQL injection vulnerability exists in Apache Superset through the where_in JINJA macro. The macro allows users to specify a quote parameter, which when combined with a carefully crafted SQL statement, enables attackers to inject arbitrary SQL commands. This vulnerability affects Apache Superset versions before 2.1.2 and versions 3.0.0 through 3.0.1.

Critical Impact

Authenticated attackers can exploit this SQL injection vulnerability to extract sensitive data, modify database contents, or potentially execute administrative operations on the underlying database, compromising data confidentiality, integrity, and availability.

Affected Products

  • Apache Superset versions before 2.1.2
  • Apache Superset versions 3.0.0 to 3.0.1

Discovery Timeline

  • December 19, 2023 - CVE-2023-49736 published to NVD
  • February 13, 2025 - Last updated in NVD database

Technical Details for CVE-2023-49736

Vulnerability Analysis

This SQL injection vulnerability (CWE-89) resides in Apache Superset's JINJA templating engine, specifically within the where_in macro functionality. The vulnerability allows authenticated users to manipulate SQL queries through improper handling of quote characters in the macro parameters. When a user provides malicious input containing carefully crafted quote sequences, the application fails to properly sanitize or escape these characters before incorporating them into SQL statements, allowing arbitrary SQL code to be executed against the backend database.

The attack requires network access and low-privilege authentication to the Superset application. Once authenticated, an attacker can craft malicious input that breaks out of the intended SQL context and injects additional SQL commands. This can lead to unauthorized data access, data manipulation, or in some cases, command execution depending on the database configuration and privileges.

Root Cause

The root cause lies in insufficient input validation and improper handling of the quote parameter within the where_in JINJA macro. The macro accepts user-controlled quote characters without adequate sanitization, allowing attackers to escape the intended SQL context and inject malicious SQL code. The templating engine fails to properly neutralize special characters that have syntactic meaning in SQL queries, creating an injection point that bypasses intended query boundaries.

Attack Vector

The attack is network-based and requires a valid authenticated session to Apache Superset. An attacker with low-level privileges can exploit this vulnerability by crafting a malicious payload that leverages the quote parameter in the where_in JINJA macro. The attacker constructs a statement that uses the quote specification to break out of the expected SQL syntax, then appends arbitrary SQL commands.

The exploitation process involves manipulating the JINJA template syntax to inject SQL commands through the vulnerable macro. By providing a carefully constructed quote value combined with malicious SQL, the attacker can execute unauthorized queries, potentially extracting sensitive information from the database, modifying data, or escalating privileges within the database system.

Detection Methods for CVE-2023-49736

Indicators of Compromise

  • Unusual or malformed SQL queries in database logs containing unexpected quote patterns or SQL syntax
  • Application logs showing errors related to JINJA template rendering with SQL-like payloads
  • Unexpected database access patterns from Superset service accounts, particularly bulk data extractions
  • Audit logs indicating data access to tables outside normal user workflows

Detection Strategies

  • Implement database query logging and analyze for SQL injection patterns such as UNION SELECT, nested queries, or comment sequences
  • Deploy web application firewall (WAF) rules to detect and block SQL injection attempts targeting the Superset application
  • Monitor Superset application logs for template rendering errors or unusual macro usage patterns
  • Enable SentinelOne Singularity Platform endpoint detection to identify anomalous database communication patterns

Monitoring Recommendations

  • Configure real-time alerting for SQL errors indicating injection attempts in database logs
  • Establish baseline behavior for Superset database queries and alert on statistical anomalies
  • Monitor network traffic between Superset and database servers for unusual query volumes or patterns
  • Implement user behavior analytics to detect compromised accounts executing abnormal queries

How to Mitigate CVE-2023-49736

Immediate Actions Required

  • Upgrade Apache Superset to version 3.0.2 or version 2.1.2+ immediately
  • Audit database logs for any evidence of exploitation or unauthorized data access
  • Review and restrict database permissions for Superset service accounts to minimum required privileges
  • Implement network segmentation to limit exposure of the Superset application

Patch Information

Apache has released security patches addressing this vulnerability. Users running affected versions should upgrade to Apache Superset version 3.0.2 or later for the 3.x branch, or version 2.1.2 or later for the 2.x branch. The patch properly sanitizes the quote parameter in the where_in JINJA macro to prevent SQL injection attacks. Refer to the Apache Mailing List Thread for official patch details and upgrade instructions.

Workarounds

  • Restrict access to Apache Superset to trusted users only until patching can be completed
  • Implement application-layer firewall rules to filter requests containing SQL injection patterns
  • Disable or restrict JINJA templating features if not required for business operations
  • Configure database accounts used by Superset with read-only permissions where write access is not essential
bash
# Example: Restrict Superset access via reverse proxy (nginx)
# Add to nginx configuration for temporary IP-based access control
location / {
    allow 10.0.0.0/8;      # Internal network only
    deny all;
    proxy_pass http://superset:8088;
}

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

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.65%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Technical References
  • Openwall OSS-Security Discussion
  • 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 SQLi Vulnerability

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