Advisory

PYSEC-2026-780

Also known as: BIT-superset-2022-41703, CVE-2022-41703, GHSA-cxvp-3frm-3876

Summary

Apache Superset's SQL Alchemy connector vulnerable to SQL Injection

Details

A vulnerability in the SQL Alchemy connector of Apache Superset allows an authenticated user with read access to a specific database to add subqueries to the WHERE and HAVING fields referencing tables on the same database that the user should not have access to, despite the user having the feature flag "ALLOW_ADHOC_SUBQUERY" disabled (default value). This issue affects Apache Superset version 1.5.2 and prior versions and version 2.0.0.

Severity

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

Dates

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

Affected packages and fixes

apache-superset

PyPI · All systems

Affected

  • introduced 0, fixed 1.5.3, introduced 2.0.0, fixed 2.0.1 (ecosystem)

Fixed versions

1.5.3, 2.0.1

Fix

  • Fixed version 1.5.3
    pip install --upgrade apache-superset==1.5.3
  • Fixed version 2.0.1
    pip install --upgrade apache-superset==2.0.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