{"id":"CVE-2022-41703","published":"2023-01-16T10:14:01Z","modified":"2025-04-08T20:33:49Z","title":"Apache Superset: SQL injection vulnerability in adhoc clauses","vendor":"Apache","product":"Apache Superset","tier":"tail","description":{"text":"A vulnerability in the SQL Alchemy connector of Apache Superset allows an authenticated user with read access to a specific database to add subqueries to the WHERE and HAVING fields referencing tables on the same database that the user should not have access to, despite the user having the feature flag \"ALLOW_ADHOC_SUBQUERY\" disabled (default value).  This issue affects Apache Superset version 1.5.2 and prior versions and version 2.0.0.\n\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01283,"percentile":0.70804,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://lists.apache.org/thread/g7jjw0okxjk5y57pbbxy19ydw42kqcos","tags":["vendor-advisory"]}],"priority":{"score":17.9,"factors":[{"name":"EPSS percentile","points":14.16},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Superset","versions":[">= 2.0.0, < 2.0.1","<= 1.5.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-08T20:32:13.091581Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"apache-superset","vulnerableRanges":["<=1.5.2","<1.5.3",">=2.0.0, <2.0.1"],"patched":["1.5.3","2.0.1"],"from":["GHSA-cxvp-3frm-3876","PYSEC-2026-780"],"provenance":"source"}],"summary":{"text":"Apache Superset's SQL Alchemy connector contains an SQL injection flaw in its handling of adhoc clauses, affecting Apache Superset 1.5.2 and earlier, along with version 2.0.0. The attack requires an authenticated user with read access to a specific database, who can add subqueries to the WHERE and HAVING fields that reference tables on that database they should not be able to access, even with the \"ALLOW_ADHOC_SUBQUERY\" feature flag disabled (its default).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:54:59Z"},"euvd":{"id":"EUVD-2023-0451","exploited":false,"provenance":"source"}}