Advisory

PYSEC-2026-1160

Also known as: BIT-superset-2024-24773, CVE-2024-24773, GHSA-5474-f7g5-273q

Summary

Apache Superset: Improper validation of SQL statements allows for unauthorized access to data

Details

Improper parsing of nested SQL statements on SQLLab would allow authenticated users to surpass their data authorization scope.
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, which fixes the issue.

Severity

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

Dates

Published
2026-07-07 11:45 UTC
Modified
2026-07-07 17:57 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