Read the docs
TI-2024-26785 Aliases CVE-2024-39887GHSA-2q6j-vpvr-6pvj

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

Priority MEDIUM 50CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-89.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.04656 91st percentileScored 2026-11-08
Fix Fixed Apache Superset (Apache Software Foundation): 4.0.2apache-superset (PyPI): 4.0.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache Supersetbefore 4.0.24.0.2Patch availableCNA
—apache-superset (PyPI)before 4.0.24.0.2Patch availableGHSA-2q6j-vpvr-6pvj
  • Apache Superset VendorApache Affected before 4.0.2 Fixed in 4.0.2 Patch available CNA
  • apache-superset (PyPI) Vendor— Affected before 4.0.2 Fixed in 4.0.2 Patch available GHSA-2q6j-vpvr-6pvj

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apache:superset:*:*:*:*:*:*:*:*before 4.0.2VulnerableApache
  • cpe:2.3:a:apache:superset:*:*:*:*:*:*:*:* Versions before 4.0.2 Vulnerable ·Apache

Remediation

  • Fix · CNA Apache Superset (Apache Software Foundation) Fixed in 4.0.2
  • Fix · GHSA-2q6j-vpvr-6pvj apache-superset (PyPI) Fixed in 4.0.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-39887
  2. 2026-10-03 Alias added: GHSA-2q6j-vpvr-6pvj

References

  • TI-2023-12249 Apache Superset: Session validation vulnerability when using provided default SECRET_KEY KEVCVSS 3.1CRITICAL 9.8
  • TI-2018-05798 Deserialization of untrusted data in Superset CVSS 3.0CRITICAL 9.8
  • TI-2023-21408 Apache Superset: Privilege escalation with default examples database CVSS 3.1HIGH 8.8
  • TI-2023-20410 Apache Superset: Possible Unauthorized Registration of SQLite Database Connections CVSS 3.1MEDIUM 6.5
  • TI-2021-09242 Apache Superset stored XSS on Dashboard markdown CVSS 3.1MEDIUM 5.4
  • TI-2021-09359 Apache Superset Open Redirect CVSS 3.1MEDIUM 6.1
See all 69 →

Sources