2.3low
Apache Superset: Improper SQL authorisation, parse not checking for specific postgres functions
- Severity
- 2.3low CVSS:4.0 by apache
- Exploit likelihood
- 0.84% (higher than 58% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-92qf-8gh3-gwcmBIT-SUPERSET-2024-53947PYSEC-2026-1165
Description
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. This issue affects Apache Superset: <4.1.0. Users 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Superset | before 4.1.0 | CVE List |
| apache-superset (PyPI) | before 4.1.0 | GitHub Advisory Database, PyPA Advisory Database |
| apache superset | before 4.1.0 | NVD |
| superset (Bitnami) | before 4.1.1 | Bitnami Vulnerability Database |
All scores
| apache | 2.3low CVSS:4.0 | 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 |
| GitHub | 9.8low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | low CVSS:4.0 | 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 |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | Not scored CVSS:4.0 | 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 |
| Bitnami Vulnerability Database | critical rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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. This issue affects Apache Superset: <4.1.0. Users 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.
NVD (es)
Vulnerabilidad de neutralización inadecuada de elementos especiales utilizados en un comando SQL ("Inyección SQL") en Apache Superset. En concreto, no se comprueban determinadas funciones específicas del motor, lo que permite a los atacantes eludir la autorización SQL de Apache Superset. Este problema es una continuación de CVE-2024-39887, con funciones PostgreSQL adicionales no permitidas ahora incluidas: query_to_xml_and_xmlschema, table_to_xml, table_to_xml_and_xmlschema. Este problema afecta a Apache Superset: <4.1.0. Se recomienda a los usuarios actualizar a la versión 4.1.0, que corrige el problema o añadir estas funciones Postgres al conjunto de configuración DISALLOWED_SQL_FUNCTIONS.
References
| https://lists.apache.org/thread/hj3gfsjh67vqw12nlrshlsym4bkopjmn | advisory, mailing-list, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-53947 | advisory, web | |
| https://github.com/apache/superset/commit/0e0028260fc8a2099250701524a489f3c9aa146f | web | |
| https://github.com/apache/superset | package | |
| https://pypi.org/project/apache-superset | package | |
| https://github.com/advisories/GHSA-92qf-8gh3-gwcm | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-53947 changed 2024-12-09 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-92qf-8gh3-gwcm changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2024-53947 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1165 changed 2026-07-07 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-SUPERSET-2024-53947 changed 2026-09-10 | Apache-2.0 |