# CVE-2022-41703: Apache Superset: SQL injection vulnerability in adhoc clauses

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-01-16 · Modified: 2025-04-08
- Aliases: GHSA-cxvp-3frm-3876, BIT-superset-2022-41703, PYSEC-2026-780
- Record: https://cvemate.com/vulnerability/CVE-2022-41703 · JSON: https://cvemate.com/vulnerability/CVE-2022-41703/json

## 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.
```

## Signals

- CVSS: 5.4 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- EPSS: 1.272%, percentile 70.857%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache superset: ≥ 2.0.0, \< 2.0.1 \| ≤ 1.5.2
- apache superset: ≤ 1.5.2 \| 2.0.0 \| 2.0.0:rc1 \| 2.0.0:rc2
- PyPI apache-superset (PyPI): ≤ 1.5.2 \| 2.0.0 \| ≥ 2.0.0, \< 2.0.1

## References

- <https://lists.apache.org/thread/g7jjw0okxjk5y57pbbxy19ydw42kqcos>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-41703>
- <https://github.com/apache/superset>
- <https://pypi.org/project/apache-superset>
- <https://github.com/advisories/GHSA-cxvp-3frm-3876>

---

Data as of 2026-12-05T09:34:51.875Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
