Skip to content
OpenAdvisories
Medium · 6.8 Public exploit CVE-2024-34693 BIT-superset-2024-34693EUVD-2024-2067GHSA-hcr7-cqwc-q5gqPYSEC-2026-1183

Apache Superset: Server arbitrary file read

Published Jun 20, 2024 · Updated Feb 21, 2025 · Assigned by apache

Description

Improper Input Validation vulnerability in Apache Superset, allows for an authenticated attacker to create a MariaDB connection with local_infile enabled. If both the MariaDB server (off by default) and the local mysql client on the web server are set to allow for local infile, it's possible for the attacker to execute a specific MySQL/MariaDB SQL command that is able to read files from the server and insert their content on a MariaDB database table.This issue affects Apache Superset: before 3.1.3 and version 4.0.0

Users are recommended to upgrade to version 4.0.1 or 3.1.3, which fixes the issue.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Superset < 3.1.3, 4.0.0 – < 4.0.1 3.1.3

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

  • mbadanoiu/CVE-2024-34693 ★ 10 · Jul 27, 2024

    CVE-2024-34693: Server Arbitrary File Read in Apache Superset

  • Mr-r00t11/CVE-2024-34693 ★ 0 · Jul 30, 2024

    An input validation vulnerability in Apache Superset allows an authenticated attacker to create a MariaDB connection with local_infile enabled, potentially leading to local file disclosure on the ser…

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI apache-superset < 3.1.3 3.1.3 GHSA-hcr7-cqwc-q5gq
PyPI apache-superset >= 4.0.0, < 4.0.1 4.0.1 GHSA-hcr7-cqwc-q5gq
PyPI apache-superset < 3.1.3 · >= 4.0.0, < 4.0.1 3.1.3, 4.0.1 PYSEC-2026-1183

Advisories 1

References