{"id":"CVE-2024-24772","aliases":["GHSA-m6jm-3v38-76j4","BIT-superset-2024-24772","PYSEC-2026-1185"],"title":"Apache Superset: Improper Neutralization of custom SQL on embedded context","summary":"Apache Superset: Improper Neutralization of custom SQL on embedded context","severity":"medium","cvss":4.3,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","vendor":"apache-superset","product":"apache-superset","ecosystem":"pip","affected":["apache-superset < 3.0.4","apache-superset >= 3.1.0, < 3.1.1"],"patched":["apache-superset 3.0.4","apache-superset 3.1.1"],"published":"2024-02-28","updated":"2026-07-07","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-m6jm-3v38-76j4","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-24772"},{"url":"https://github.com/apache/superset"},{"url":"https://lists.apache.org/thread/gfl3ckwy6y9tpz9jmpv62orh2q346sn5"},{"url":"http://www.openwall.com/lists/oss-security/2024/02/28/5"}],"tags":["osv","pip"],"epss":0.00953,"epssPercentile":0.59813,"ingestedAt":"2026-07-08T18:25:51.149Z","slug":"CVE-2024-24772","body":"## Overview\n\nA guest user could exploit a chart data REST API and send arbitrary SQL statements that on error could leak information from the underlying analytics database.This issue affects Apache Superset: before 3.0.4, from 3.1.0 before 3.1.1.\n\nUsers are recommended to upgrade to version 3.1.1 or 3.0.4, which fixes the issue.\n\n## Affected packages\n\n- `apache-superset < 3.0.4`\n- `apache-superset >= 3.1.0, < 3.1.1`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `apache-superset 3.0.4`\n- `apache-superset 3.1.1`","depth":"sunlit","depthScore":24,"depthScoreParts":{"impact":23.7,"likelihood":0.2,"exploitation":0,"ransomware":0},"changes":[]}