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

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.28%, higher than 70% of CVEs (2026-12-01)
- Published: 2023-01-16T10:14:01.332Z
- Modified: 2026-09-08T08:48:19.539Z
- Also known as: GHSA-cxvp-3frm-3876, BIT-SUPERSET-2022-41703, PYSEC-2026-780
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

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

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Superset: from 2.0.0 before 2.0.1; up to 1.5.2
- apache-superset (PyPI): up to 1.5.2; 2.0.0; before 1.5.3; from 2.0.0 before 2.0.1
- apache superset: up to 1.5.2; 2.0.0
- superset (Bitnami): before 1.5.3; from 2.0.0 before 2.0.1

## Every score

- CISA-ADP: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://lists.apache.org/thread/g7jjw0okxjk5y57pbbxy19ydw42kqcos> (advisory, mailing-list, third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-41703> (advisory, web)
- <https://github.com/apache/superset> (package)
- <https://pypi.org/project/apache-superset> (package)
- <https://github.com/advisories/GHSA-cxvp-3frm-3876> (advisory)

## Sources

- CVE List: [CVE-2022-41703](https://www.cve.org/CVERecord?id=CVE-2022-41703), CVE Terms of Use, modified 2025-04-08
- GitHub Advisory Database: [GHSA-cxvp-3frm-3876](https://github.com/advisories/GHSA-cxvp-3frm-3876), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2022-41703](https://nvd.nist.gov/vuln/detail/CVE-2022-41703), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-780](https://osv.dev/vulnerability/PYSEC-2026-780), CC-BY-4.0, modified 2026-07-07
- Bitnami Vulnerability Database: [BIT-SUPERSET-2022-41703](https://osv.dev/vulnerability/BIT-SUPERSET-2022-41703), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-41703 · Whole record: https://cve.day/CVE-2022-41703.json · Rebuilt by cve.day 2026-11-25T22:58:18.203Z
