PYSEC-2026-1183
Apache Superset server arbitrary file read
Quick fix
PYSEC-2026-1183 — apache-superset: upgrade to the fixed version with the command below.
pip install --upgrade 'apache-superset>=3.1.3'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.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 3.1.3pip install --upgrade 'apache-superset>=3.1.3'References
- https://nvd.nist.gov/vuln/detail/CVE-2024-34693[ADVISORY]
- https://github.com/apache/superset[PACKAGE]
- https://lists.apache.org/thread/1803x1s34m7r71h1k0q1njol8k6fmyon[WEB]
- http://www.openwall.com/lists/oss-security/2024/06/20/1[WEB]
- https://pypi.org/project/apache-superset[PACKAGE]
- https://github.com/advisories/GHSA-hcr7-cqwc-q5gq[ADVISORY]