{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-39887","published":"2024-07-16T10:15:03.380000Z","last_modified":"2026-06-17T07:42:58.257000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-89"],"cpes":[{"criteria":"cpe:2.3:a:apache:superset:*:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"superset","version_end_excluding":"4.0.2"}],"cpes_truncated":false,"vendors":["apache"],"products":["apache/superset"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.06836,"percentile":0.94801,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-2q6j-vpvr-6pvj","ecosystem":"PyPI","name":"apache-superset","purl":"pkg:pypi/apache-superset","ranges":[{"introduced":"0","fixed":"4.0.2"}],"versions":["0.34.0","0.34.1","0.35.1","0.35.2","0.36.0","0.37.0","0.37.1","0.37.2","0.38.0","0.38.1","1.0.0","1.0.1","1.1.0","1.2.0","1.3.0","1.3.1","1.3.2","1.4.0","1.4.1","1.4.2","1.5.0","1.5.1","1.5.2","1.5.3","2.0.0","2.0.1","2.1.0","2.1.1","2.1.1rc1","2.1.1rc2","2.1.1rc3","2.1.2","2.1.3","3.0.0","3.0.0rc1","3.0.0rc2","3.0.0rc3","3.0.0rc4","3.0.1","3.0.2","3.0.3","3.0.4","3.1.0","3.1.0rc1","3.1.0rc2","3.1.0rc3","3.1.0rc4","3.1.1","3.1.2","3.1.3","4.0.0","4.0.0rc1","4.0.0rc2","4.0.1"],"versions_truncated":false},{"advisory":"PYSEC-2026-1155","ecosystem":"PyPI","name":"apache-superset","purl":"pkg:pypi/apache-superset","ranges":[{"introduced":"0","fixed":"4.0.2"}],"versions":["0.34.0","0.34.1","0.35.1","0.35.2","0.36.0","0.37.0","0.37.1","0.37.2","0.38.0","0.38.1","1.0.0","1.0.1","1.1.0","1.2.0","1.3.0","1.3.1","1.3.2","1.4.0","1.4.1","1.4.2","1.5.0","1.5.1","1.5.2","1.5.3","2.0.0","2.0.1","2.1.0","2.1.1","2.1.1rc1","2.1.1rc2","2.1.1rc3","2.1.2","2.1.3","3.0.0","3.0.0rc1","3.0.0rc2","3.0.0rc3","3.0.0rc4","3.0.1","3.0.2","3.0.3","3.0.4","3.1.0","3.1.0rc1","3.1.0rc2","3.1.0rc3","3.1.0rc4","3.1.1","3.1.2","3.1.3","4.0.0","4.0.0rc1","4.0.0rc2","4.0.1"],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2024-39887/","html_en":"/en/cve/CVE-2024-39887/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-39887","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-39887"},"untrusted":{"vendor_name":"Apache","product_name":"Superset","desc_en":"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.\n\nThis issue affects Apache Superset: before 4.0.2.\n\nUsers are recommended to upgrade to version 4.0.2, which fixes the issue.","affected":[{"untrusted_vendor":"Apache Software Foundation","untrusted_product":"Apache Superset","versions":[]}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2024/07/16/5","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.apache.org/thread/j55vm41jg3l0x6w49zrmvbf3k0ts5fqz","tags":["Mailing List","Vendor Advisory"]}]}}