# CVE-2024-34693: Apache Superset: Server arbitrary file read

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.8
- **CVSS:** 6.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.97% (percentile 81, 2026-11-26)
- **CWE:** CWE-20
- **Aliases:** BIT-superset-2024-34693, GHSA-hcr7-cqwc-q5gq, PYSEC-2026-1183
- **Published:** 2024-06-20T08:51:55.329Z
- **Modified:** 2026-07-07T17:57:00.178Z

## Who should check

- Projects that depend on PyPI package apache-superset (\< 3.1.3)
- Anyone running Apache Software Foundation Apache Superset \< 3.1.3; \>= 4.0.0, \< 4.0.1

## 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 and fixed versions

- PyPI `apache-superset`: affected \< 3.1.3; fixed 3.1.3, 4.0.1 (osv)
- Apache Software Foundation Apache Superset: \< 3.1.3; \>= 4.0.0, \< 4.0.1 (cvelist)

## Mitigation

- Upgrade apache-superset to one of 3.1.3, 4.0.1 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-34693. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-34693.md
Affected: apache-superset < 3.1.3
Fixed in: 3.1.3, 4.0.1

Steps:
1. Search this machine and project for apache-superset (PyPI), Apache Software Foundation Apache Superset: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-34693 being exploited?

There is no confirmed exploitation: CVE-2024-34693 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.97% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-34693?

Medium: CVSS 6.8 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2024-34693?

apache-superset \< 3.1.3.

### Is there a fix for CVE-2024-34693?

Yes. Fixed in 3.1.3, 4.0.1. Upgrade apache-superset to one of 3.1.3, 4.0.1 (or later in the same release line).

### How do I check if I'm affected by CVE-2024-34693?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://lists.apache.org/thread/1803x1s34m7r71h1k0q1njol8k6fmyon>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-34693>
- vendor: <https://github.com/advisories/GHSA-hcr7-cqwc-q5gq>
- other: <http://www.openwall.com/lists/oss-security/2024/06/20/1>
- other: <https://github.com/apache/superset>
- other: <https://pypi.org/project/apache-superset>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-34693>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-hcr7-cqwc-q5gq> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1183> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-34693> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-34693>
