Advisory

PYSEC-2026-1184

Also known as: BIT-superset-2023-49736, CVE-2023-49736, GHSA-jfxj-xf67-x723

Summary

Apache Superset SQL injection vulnerability

Details

A where_in JINJA macro allows users to specify a quote, which combined with a carefully crafted statement would allow for SQL injection in Apache Superset.This issue affects Apache Superset: before 2.1.3, from 3.0.0 before 3.0.2.

Users are recommended to upgrade to version 2.1.3 or 3.0.2, which fixes the issue.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/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 2.1.3, introduced 3.0.0, fixed 3.0.2 (ecosystem)

Fixed versions

2.1.3, 3.0.2

Fix

  • Fixed version 2.1.3
    pip install --upgrade apache-superset==2.1.3
  • Fixed version 3.0.2
    pip install --upgrade apache-superset==3.0.2

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