{"id":"CVE-2024-34693","aliases":["CVE-2024-34693","GHSA-hcr7-cqwc-q5gq","BIT-SUPERSET-2024-34693","PYSEC-2026-1183"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Superset: Server arbitrary file read","summary":"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\n\nUsers are recommended to upgrade to version 4.0.1 or 3.1.3, which fixes the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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\n\nUsers are recommended to upgrade to version 4.0.1 or 3.1.3, which fixes the issue.","source":"cvelist"},{"lang":"en","text":"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.\n\nUsers are recommended to upgrade to version 4.0.1 or 3.1.3, both of which fix the issue.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Vulnerabilidad de validación de entrada incorrecta en Apache Superset, permite que un atacante autenticado cree una conexión MariaDB con local_infile habilitado. Si tanto el servidor MariaDB (desactivado de forma predeterminada) como el cliente MySQL local en el servidor web están configurados para permitir el archivo local, es posible que el atacante ejecute un comando SQL MySQL/MariaDB específico que pueda leer archivos del servidor e inserte su contenido en una tabla de base de datos MariaDB. Este problema afecta a Apache Superset: antes de 3.1.3 y versión 4.0.0. Se recomienda a los usuarios actualizar a la versión 4.0.1 o 3.1.3, que soluciona el problema.","source":"nvd"}],"published":"2024-06-20T08:51:55.329Z","modified":"2026-09-08T08:48:19.753Z","severity":{"scorer":"apache","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"apache","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","score":6.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","score":6.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","score":6.8,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.1.3","status":"affected"},{"type":"semver","introduced":"4.0.0","fixed":"4.0.1","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Superset","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.1.3"}],"ecosystem":"PyPI","package":"apache-superset","purl":"pkg:pypi/apache-superset","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.0.1"}],"ecosystem":"PyPI","package":"apache-superset","purl":"pkg:pypi/apache-superset","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.1.3"},{"status":"affected","introduced":"4.0.0","fixed":"4.0.1"}],"vendor":"apache","product":"superset","cpe":"cpe:2.3:a:apache:superset:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.1.3"},{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.0.1"}],"ecosystem":"PyPI","package":"apache-superset","purl":"pkg:pypi/apache-superset","source":"pysec"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.1.1"}],"ecosystem":"Bitnami","package":"superset","purl":"pkg:bitnami/superset","source":"bitnami"}],"references":[{"url":"https://lists.apache.org/thread/1803x1s34m7r71h1k0q1njol8k6fmyon","tags":["discussion","mailing-list","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2024/06/20/1","tags":["discussion","mailing-list","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34693","tags":["advisory","web"],"sources":["ghsa","pysec","bitnami"]},{"url":"https://github.com/apache/superset","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/apache-superset","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-hcr7-cqwc-q5gq","tags":["advisory"],"sources":["pysec"]}],"credits":["Matei \"Mal\" Badanoiu","Daniel Vaz Gaspar"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-20T12:55:23.313Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-34693","url":"https://www.cve.org/CVERecord?id=CVE-2024-34693","licence":"CVE Terms of Use","modified":"2025-02-21T16:55:58.529Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hcr7-cqwc-q5gq","url":"https://github.com/advisories/GHSA-hcr7-cqwc-q5gq","licence":"CC-BY-4.0","modified":"2026-07-07T17:57:00.178Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-34693","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34693","licence":"Public domain","modified":"2026-06-17T07:33:53.447Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1183","url":"https://osv.dev/vulnerability/PYSEC-2026-1183","licence":"CC-BY-4.0","modified":"2026-07-07T17:57:00.178Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-SUPERSET-2024-34693","url":"https://osv.dev/vulnerability/BIT-SUPERSET-2024-34693","licence":"Apache-2.0","modified":"2026-09-08T08:48:19.753Z"}],"updatedAt":"2026-11-25T22:58:42.069Z","epss":{"score":0.01584,"percentile":0.76321,"date":"2026-12-02T12:00:21.000Z"}}