{"id":"CVE-2024-27315","aliases":["GHSA-h7r6-8qmm-hj5r","BIT-superset-2024-27315","PYSEC-2026-1181"],"title":"Apache Superset: Improper error handling on alerts","summary":"Apache Superset: Improper error handling on alerts","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-h7r6-8qmm-hj5r","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27315"},{"url":"https://github.com/apache/superset"},{"url":"https://lists.apache.org/thread/qcwbx7q2s3ynsd405895bx3wcwq32j7z"},{"url":"http://www.openwall.com/lists/oss-security/2024/02/28/3"}],"tags":["osv","pip"],"epss":0.00978,"epssPercentile":0.60521,"ingestedAt":"2026-07-08T18:25:50.014Z","slug":"CVE-2024-27315","body":"## Overview\n\nAn authenticated user with privileges to create Alerts on Alerts & Reports has the capability to generate a specially crafted SQL statement that triggers an error on the database. This error is not properly handled by Apache Superset and may inadvertently surface in the error log of the Alert exposing possibly sensitive data.\n\nThis 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\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":[]}