Advisory

PYSEC-2026-1181

Also known as: BIT-superset-2024-27315, CVE-2024-27315, GHSA-h7r6-8qmm-hj5r

Summary

Apache Superset: Improper error handling on alerts

Details

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.

Severity

Medium Basis: CVSS v3 score 4.3, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Dates

Published
2026-07-07 11:45 UTC
Modified
2026-07-07 17:56 UTC

Affected packages and fixes

apache-superset

PyPI · All systems

Affected

  • introduced 0, fixed 3.0.4, introduced 3.1.0, fixed 3.1.1 (ecosystem)

Fixed versions

3.0.4, 3.1.1

Fix

  • Fixed version 3.0.4
    pip install --upgrade apache-superset==3.0.4
  • Fixed version 3.1.1
    pip install --upgrade apache-superset==3.1.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences