Medium

Apache Superset vulnerable to improper SQL authorization

  • Disclosed: 16.07.2024
  • Updated: 11.10.2026 13:19

An SQL Injection vulnerability in Apache Superset exists due to improper neutralization of special elements used in SQL commands. Specifically, certain engine-specific functions are not checked, which allows attackers to bypass Apache Superset's SQL authorization. To mitigate this, a new configuration key named DISALLOWED_SQL_FUNCTIONS has been introduced. This key disallows the use of the following PostgreSQL functions: version, query_to_xml, inet_server_addr, and inet_client_addr. Additional functions can be added to this list for increased protection.

This issue affects Apache Superset: before 4.0.2.

Users are recommended to upgrade to version 4.0.2, which fixes the issue.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) apache-superset < 4.0.2 4.0.2

References

CVSS score 4.3/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness (CWE)
CWE-89
Platform
Python (PyPI)
Package
apache-superset
Disclosed
16.07.2024
Updated
11.10.2026 13:19

Sources and licenses

OSV / GitHub Advisory Database - GHSA-2q6j-vpvr-6pvj - CC BY 4.0

OSV / GitHub Advisory Database - PYSEC-2026-1155 - PyPA Advisory Database; CC BY 4.0

Vulnerability history: apache-superset

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (66) in the archive
Total entries
66
First → latest
12.2019 02.2026
Without a fix
1
Exploited in attacks
1

Severity breakdown

  • Critical 3
  • High 14
  • Medium 48
  • Low 1

Disclosures per year

  1. 2019: 2
  2. 2020: 3
  3. 2021: 6
  4. 2022: 3
  5. 2023: 28
  6. 2024: 13
  7. 2025: 6
  8. 2026: 5
Severity:
  1. High · 8.8 CVE-2025-27696 < 4.1.2 4.1.2
  2. Apache Superset vulnerable to improper SQL authorization this entry
    Medium · 4.3 CVE-2024-39887 < 4.0.2 4.0.2
  3. Critical · 9.6 CVE-2023-49657 < 3.0.3 3.0.3
  4. High · 7.7 CVE-2023-49734 < 2.1.3, >= 3.0.0, < 3.0.2 2.1.3, 3.0.2
  5. High · 7.3 CVE-2023-40610 < 2.1.2 2.1.2
  6. High · 8.9 Exploited in attacks CVE-2023-27524 < 2.1.0 2.1.0
  7. High · 8.8 CVE-2022-43719 < 1.5.3, >= 2.0.0, < 2.0.1 1.5.3, 2.0.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.