CVE-2022-41703: Apache Superset: SQL injection vulnerability in adhoc clauses
Vulnerability summary
CVE-2022-41703 is a medium (CVSS 5.4) vulnerability in apache software foundation apache superset. EPSS estimates a 1.27% chance of exploitation in the next 30 days, higher than 70.8% of scored vulnerabilities.
Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 16-01-2023PublishedVulnerability first disclosed.
- 08-04-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · PypiEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
EPSS trend
Probability
1.27%
Chance of exploitation in the next 30 days
Percentile
71%
Versus all other CVEs
30-day change
Increase +0.03 pp
From 1.24% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Apache1 product
- superset≤ 1.5.2 | 2.0.0 | 2.0.0:rc1 | 2.0.0:rc2
Apache software foundation1 product
- apache superset≥ 2.0.0, < 2.0.1 | ≤ 1.5.2
PyPI1 product
- apache-superset≤ 1.5.2 | 2.0.0 | ≥ 2.0.0, < 2.0.1
3 vendors · 3 products
References
5 links- lists.apache.org/thread/g7jjw0okxjk5y57pbbxy19ydw42kqcosVendor AdvisoryWEBMailing ListThird Party Advisory
- github.com/apache/supersetPACKAGE