{"id":"PYSEC-2026-1165","summary":"Apache Superset: Improper SQL authorisation, parse not checking for specific postgres functions","details":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Superset. Specifically, certain engine-specific functions are not checked, which allows attackers to bypass Apache Superset's SQL authorization. This issue is a follow-up to CVE-2024-39887 with additional disallowed PostgreSQL functions now included: query_to_xml_and_xmlschema, table_to_xml, table_to_xml_and_xmlschema.\n\nThis issue affects Apache Superset: \u003c4.1.0.\n\nUsers are recommended to upgrade to version 4.1.0, which fixes the issue or add these Postgres functions to the config set DISALLOWED_SQL_FUNCTIONS.","aliases":["BIT-superset-2024-53947","CVE-2024-53947","GHSA-92qf-8gh3-gwcm"],"modified":"2026-07-07T17:57:13.147387774Z","published":"2026-07-07T14:34:46.919752Z","references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53947"},{"type":"WEB","url":"https://github.com/apache/superset/commit/0e0028260fc8a2099250701524a489f3c9aa146f"},{"type":"PACKAGE","url":"https://github.com/apache/superset"},{"type":"WEB","url":"https://lists.apache.org/thread/hj3gfsjh67vqw12nlrshlsym4bkopjmn"},{"type":"PACKAGE","url":"https://pypi.org/project/apache-superset"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-92qf-8gh3-gwcm"}],"affected":[{"package":{"name":"apache-superset","ecosystem":"PyPI","purl":"pkg:pypi/apache-superset"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.0"}]}],"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","4.0.2","4.1.0rc2","4.1.0rc3","4.1.0rc4"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/apache-superset/PYSEC-2026-1165.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N"}]}