Apache Superset: Server arbitrary file read (CVE-2024-34693)
Apache Superset contains an improper input validation vulnerability (CVE-2024-34693) that allows an authenticated attacker to create a MariaDB connection with local_infile enabled. If the MariaDB server and the local MySQL client on the web server both permit local infile, the attacker can execute SQL commands to read arbitrary files from the server and insert their contents into a MariaDB database table. This affects versions before 3.1.3 and version 4.0.0. Upgrading to versions 3.1.3 or 4.0.1 resolves the issue.
AI Analysis
Technical Summary
CVE-2024-34693 is an improper input validation vulnerability in Apache Superset that enables an authenticated user to exploit MariaDB's local_infile feature to read arbitrary files from the server filesystem. This requires that both the MariaDB server and the local MySQL client on the web server have local_infile enabled, which is off by default. The attacker can craft a MariaDB connection and execute specific SQL commands to read files and insert their contents into database tables. The vulnerability affects Apache Superset versions before 3.1.3 and version 4.0.0. The issue is fixed in versions 3.1.3 and 4.0.1.
Potential Impact
An authenticated attacker can read arbitrary files from the server hosting Apache Superset by leveraging MariaDB's local_infile feature if it is enabled on both the database server and the local MySQL client. This could lead to unauthorized disclosure of sensitive information stored on the server. The vulnerability requires authentication and specific configuration settings to be exploitable.
Mitigation Recommendations
A patch is available. Users should upgrade Apache Superset to version 3.1.3 or 4.0.1 to remediate this vulnerability. Ensure that the MariaDB server and local MySQL client do not have local_infile enabled unless explicitly required and secured. No additional mitigation steps are indicated by the vendor advisory.
Apache Superset: Server arbitrary file read (CVE-2024-34693)
Description
Apache Superset contains an improper input validation vulnerability (CVE-2024-34693) that allows an authenticated attacker to create a MariaDB connection with local_infile enabled. If the MariaDB server and the local MySQL client on the web server both permit local infile, the attacker can execute SQL commands to read arbitrary files from the server and insert their contents into a MariaDB database table. This affects versions before 3.1.3 and version 4.0.0. Upgrading to versions 3.1.3 or 4.0.1 resolves the issue.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-34693 is an improper input validation vulnerability in Apache Superset that enables an authenticated user to exploit MariaDB's local_infile feature to read arbitrary files from the server filesystem. This requires that both the MariaDB server and the local MySQL client on the web server have local_infile enabled, which is off by default. The attacker can craft a MariaDB connection and execute specific SQL commands to read files and insert their contents into database tables. The vulnerability affects Apache Superset versions before 3.1.3 and version 4.0.0. The issue is fixed in versions 3.1.3 and 4.0.1.
Potential Impact
An authenticated attacker can read arbitrary files from the server hosting Apache Superset by leveraging MariaDB's local_infile feature if it is enabled on both the database server and the local MySQL client. This could lead to unauthorized disclosure of sensitive information stored on the server. The vulnerability requires authentication and specific configuration settings to be exploitable.
Mitigation Recommendations
A patch is available. Users should upgrade Apache Superset to version 3.1.3 or 4.0.1 to remediate this vulnerability. Ensure that the MariaDB server and local MySQL client do not have local_infile enabled unless explicitly required and secured. No additional mitigation steps are indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BIT-superset-2024-34693
- Osv Schema Version
- 1.5.0
- Aliases
- ["CVE-2024-34693"]
- Ecosystems
- ["Bitnami"]
- Database Specific Severity
- Medium
Threat ID: 6aa005bfacd9273b49ab5b8f
Added to database: 09/08/2026, 12:55:27 UTC
Last enriched: 09/08/2026, 13:15:52 UTC
Last updated: 09/10/2026, 19:36:48 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.