CVE-2024-39887Apache Superset
Critical 9.8 No auth needed
Follow: this CVE · Apache · Apache Superset We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 6.8% probability of exploitation in 30 days · percentile 95
- Auth required
- No
- Published
- Jul 16, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Superset.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | apache-superset |
< 4.0.2 |
4.0.2 |
pip install "apache-superset>=4.0.2" |
| PyPI | apache-superset |
< 4.0.2 |
4.0.2 |
pip install "apache-superset>=4.0.2" |
Per OSV / GitHub Advisories (GHSA-2q6j-vpvr-6pvj, PYSEC-2026-1155). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | superset | < 4.0.2 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- lists.apache.org Mailing List Vendor Advisory