{"id":"CVE-2024-53947","published":"2024-12-09T13:35:09Z","modified":"2024-12-09T15:05:21Z","title":"Apache Superset: Improper SQL authorisation, parse not checking for specific postgres functions","vendor":"Apache","product":"Apache Superset","tier":"tail","description":{"text":"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: <4.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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.3,"severity":"LOW","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01214,"percentile":0.68418,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://lists.apache.org/thread/hj3gfsjh67vqw12nlrshlsym4bkopjmn","tags":["vendor-advisory"]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":13.68},{"name":"CVSS severity","points":1.61}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Superset","versions":["< 4.1.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-12-09T15:05:04.575998Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"apache-superset","vulnerableRanges":["<4.1.0"],"patched":["4.1.0"],"from":["GHSA-92qf-8gh3-gwcm","PYSEC-2026-1165"],"provenance":"source"}],"summary":{"text":"Apache Superset versions before 4.1.0 contain an SQL injection flaw in the SQL parsing logic that fails to check certain engine-specific PostgreSQL functions (query_to_xml_and_xmlschema, table_to_xml, and table_to_xml_and_xmlschema), allowing those functions to bypass Superset's SQL authorisation. An attacker with network access and low-privilege authenticated access can exploit this by submitting crafted SQL, with no user interaction needed and with only the specified PostgreSQL functions being checked for in the configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:52:08Z"},"euvd":{"id":"EUVD-2024-3452","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-apache-superset-cve-2024-39887","parents":[{"from":"CVE-2024-39887","to":"CVE-2024-53947","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["superset/config.py"],"commits":["https://github.com/apache/superset/commit/56f0103b5771d477dd106272abbd8021c9ea7506","https://github.com/apache/superset/commit/0e0028260fc8a2099250701524a489f3c9aa146f"],"basis":"shared function","functions":["CSV_TO_HIVE_UPLOAD_DIRECTORY_FUNC"]},{"kind":"similar","provenance":"machine","score":0.39,"basis":"same product + CWE + description similarity"}]}]}}