Live threats

All CVEs / Apache

CVE-2024-39887Apache Superset

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Superset.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
apachesuperset< 4.0.2

Official sources

References

Links published by the sources. Open them with care.