CVE-2024-39887
CVE-2024-39887 is a medium-severity vulnerability in Apache Superset with a CVSS 3.x base score of 4.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-89.
Key facts
- Severity: Medium (CVSS 3.x base score 4.3)
- EPSS exploit prediction: 4% (91st percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-2226
- Weakness: CWE-89
- Affected product: Apache Superset
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2024-39887?
- 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.
- How severe is CVE-2024-39887?
- CVE-2024-39887 has a CVSS 3.x base score of 4.3, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is low, integrity none, and availability none.
- Is CVE-2024-39887 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (91st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-39887?
- CVE-2024-39887 affects Apache Superset. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-39887?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-39887 have an EU (EUVD) identifier?
- Yes. CVE-2024-39887 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-2226.
- When was CVE-2024-39887 published?
- CVE-2024-39887 was published on 2024-07-16 and last updated on 2026-06-17.
References
- http://www.openwall.com/lists/oss-security/2024/07/16/5
- https://lists.apache.org/thread/j55vm41jg3l0x6w49zrmvbf3k0ts5fqz
Affected products (1)
- cpe:2.3:a:apache:superset:*:*:*:*:*:*:*:*
More vulnerabilities in Apache Superset
- CVE-2024-53947 — Critical (CVSS 9.8): Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Superset.…
- CVE-2022-27479 — Critical (CVSS 9.8): Apache Superset before 1.4.2 is vulnerable to SQL injection in chart data requests. Users should update to 1.4.2 or…
- CVE-2018-8021 — Critical (CVSS 9.8): Versions of Superset prior to 0.23 used an unsafe load method from the pickle library to deserialize data leading to…
- CVE-2023-49657 — Critical (CVSS 9.6): A stored cross-site scripting (XSS) vulnerability exists in Apache Superset before 3.0.3. An authenticated attacker…
- CVE-2023-27524 — High (CVSS 8.9): Session Validation attacks in Apache Superset versions up to and including 2.0.1. Installations that have not altered…
- CVE-2025-27696 — High (CVSS 8.8): Incorrect Authorization vulnerability in Apache Superset allows ownership takeover of dashboards, charts or datasets by…
All CVEs affecting Apache Superset →
Other CWE-89 (SQL Injection) vulnerabilities
- CVE-2026-20030 — Critical (CVSS 10.0): As part of Cisco's ongoing commitment to proactive security and product quality, the Cisco Crosswork engineering team…
- CVE-2026-72811 — Critical (CVSS 10.0): SiYuan versions <= v3.7.2 contain a SQL injection vulnerability in the backlink/mention search query…
- CVE-2026-72851 — Critical (CVSS 10.0): Budibase before 3.40.0 contains an unauthenticated SQL injection vulnerability in webhook-triggered automations with…
- CVE-2026-72899 — Critical (CVSS 10.0): Metabase allows an unauthenticated attacker to inject arbitrary SQL via a publicly shared card or dashboard that…
- CVE-2026-72898 — Critical (CVSS 10.0): Metabase allows a remote, unauthenticated attacker to inject arbitrary SQL via the '/reset_password' database endpoint…
- CVE-2026-48330 — Critical (CVSS 10.0): Adobe Campaign Classic (ACC) is affected by an Improper Neutralization of Special Elements used in an SQL Command ('SQL…