Critical

Apache Superset: Improper SQL authorisation, parse not checking for specific postgres functions

  • Disclosed: 09.12.2024
  • Updated: 11.10.2026 13:19

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Superset. Specifically, certain engine-specific functions are not checked, which allows attackers to bypass Apache Superset's SQL authorization. This issue is a follow-up to CVE-2024-39887 with additional disallowed PostgreSQL functions now included: query_to_xml_and_xmlschema, table_to_xml, table_to_xml_and_xmlschema.

This issue affects Apache Superset: <4.1.0.

Users are recommended to upgrade to version 4.1.0, which fixes the issue or add these Postgres functions to the config set DISALLOWED_SQL_FUNCTIONS.

Affected software

Click a technology to see all vulnerabilities affecting it.

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

References

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

Sources and licenses

OSV / GitHub Advisory Database - GHSA-92qf-8gh3-gwcm - CC BY 4.0

OSV / GitHub Advisory Database - PYSEC-2026-1165 - 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: Improper SQL authorisation, parse not checking for specific postgres functions this entry
    Critical · 9.8 CVE-2024-53947 < 4.1.0 4.1.0
  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.