---
id: CVE-2024-34693
aliases:
  - GHSA-hcr7-cqwc-q5gq
  - BIT-superset-2024-34693
  - PYSEC-2026-1183
title: 'Apache Superset server arbitrary file read '
summary: 'Apache Superset server arbitrary file read '
severity: medium
cvss: 6.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N'
vendor: apache-superset
product: apache-superset
ecosystem: pip
affected:
  - apache-superset < 3.1.3
  - 'apache-superset >= 4.0.0, < 4.0.1'
patched:
  - apache-superset 3.1.3
  - apache-superset 4.0.1
published: '2024-06-20'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-hcr7-cqwc-q5gq'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-34693'
  - url: 'https://github.com/apache/superset'
  - url: 'https://lists.apache.org/thread/1803x1s34m7r71h1k0q1njol8k6fmyon'
  - url: 'http://www.openwall.com/lists/oss-security/2024/06/20/1'
tags:
  - osv
  - pip
  - exploit-available
epss: 0.01584
epssPercentile: 0.74511
ingestedAt: '2026-07-08T18:25:50.055Z'
exploits:
  github: 2
  githubRepos:
    - 'https://github.com/mbadanoiu/CVE-2024-34693'
    - 'https://github.com/Mr-r00t11/CVE-2024-34693'
  checkedAt: '2026-09-24T07:52:51.456Z'
exploitAvailable: true
---

## Overview

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 version 3.1.3 and in version 4.0.0.

Users are recommended to upgrade to version 4.0.1 or 3.1.3, both of which fix the issue.

## Affected packages

- `apache-superset < 3.1.3`
- `apache-superset >= 4.0.0, < 4.0.1`

## Remediation

Upgrade to a patched release:

- `apache-superset 3.1.3`
- `apache-superset 4.0.1`
