---
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.60579
ingestedAt: '2026-07-08T18:25:50.014Z'
---

## Overview

An 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.

This issue affects Apache Superset: before 3.0.4, from 3.1.0 before 3.1.1.

Users are recommended to upgrade to version 3.1.1 or 3.0.4, which fixes the issue.



## Affected packages

- `apache-superset < 3.0.4`
- `apache-superset >= 3.1.0, < 3.1.1`

## Remediation

Upgrade to a patched release:

- `apache-superset 3.0.4`
- `apache-superset 3.1.1`
