Advisory

PYSEC-2026-1185

Also known as: BIT-superset-2024-24772, CVE-2024-24772, GHSA-m6jm-3v38-76j4

Summary

Apache Superset: Improper Neutralization of custom SQL on embedded context

Details

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

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