Advisory

PYSEC-2026-1183

Also known as: BIT-superset-2024-34693, CVE-2024-34693, GHSA-hcr7-cqwc-q5gq

Summary

Apache Superset server arbitrary file read

Details

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.

Severity

Medium Basis: CVSS v3 score 6.8, vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:57 UTC

Affected packages and fixes

apache-superset

PyPI · All systems

Affected

  • introduced 0, fixed 3.1.3, introduced 4.0.0, fixed 4.0.1 (ecosystem)

Fixed versions

3.1.3, 4.0.1

Fix

  • Fixed version 3.1.3
    pip install --upgrade apache-superset==3.1.3
  • Fixed version 4.0.1
    pip install --upgrade apache-superset==4.0.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences