{"id":"BIT-superset-2024-39887","summary":"Apache Superset: Improper SQL authorisation, parse not checking for specific engine functions","details":"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.","aliases":["CVE-2024-39887","GHSA-2q6j-vpvr-6pvj","PYSEC-2026-1155"],"modified":"2026-09-08T08:48:19.724027375Z","published":"2025-02-05T07:25:23.689Z","database_specific":{"severity":"Critical","cpes":["cpe:2.3:a:apache:superset:*:*:*:*:*:python:*:*"]},"references":[{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2024/07/16/5"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/j55vm41jg3l0x6w49zrmvbf3k0ts5fqz"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39887"}],"affected":[{"package":{"name":"superset","ecosystem":"Bitnami","purl":"pkg:bitnami/superset"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.1.1"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/superset/BIT-superset-2024-39887.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}],"schema_version":"1.9.0"}