# CVE-2023-49736: Apache Superset: SQL Injection on where_in JINJA macro

- Severity: Medium 6.5 (CVSS:3.1, scored by apache) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/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.19%, higher than 68% of CVEs (2026-12-01)
- Published: 2023-12-19T09:33:10.415Z
- Modified: 2026-09-08T08:48:19.646Z
- Also known as: GHSA-jfxj-xf67-x723, BIT-SUPERSET-2023-49736, PYSEC-2026-1184
- Weaknesses: CWE-89
- Assigned by: apache

## Description

A where_in JINJA macro allows users to specify a quote, which combined with a carefully crafted statement would allow for SQL injection in Apache Superset.This issue affects Apache Superset: before 2.1.2, from 3.0.0 before 3.0.2.

Users are recommended to upgrade to version 3.0.2, which fixes the issue.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Superset: before 2.1.2; from 3.0.0 before 3.0.2
- apache-superset (PyPI): before 2.1.3; from 3.0.0 before 3.0.2
- apache superset: before 2.1.2; from 3.0.0 before 3.0.2
- superset (Bitnami): before 2.1.2; from 3.0.0 before 3.0.2

## Every score

- apache: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://lists.apache.org/thread/1kf481bgs3451qcz6hfhobs7xvhp8n1p> (advisory, mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2023/12/19/2> (advisory, mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-49736> (advisory, web)
- <https://github.com/apache/superset/pull/25779> (web)
- <https://github.com/apache/superset/commit/1d403dab9822a8cee6108669c53e53fad881c751> (web)
- <https://github.com/apache/superset/commit/34101594e284ab3acce692f41aff7759ccb4bf1d> (web)
- <https://github.com/apache/superset> (package)
- <https://pypi.org/project/apache-superset> (package)
- <https://github.com/advisories/GHSA-jfxj-xf67-x723> (advisory)

## Sources

- CVE List: [CVE-2023-49736](https://www.cve.org/CVERecord?id=CVE-2023-49736), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-jfxj-xf67-x723](https://github.com/advisories/GHSA-jfxj-xf67-x723), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2023-49736](https://nvd.nist.gov/vuln/detail/CVE-2023-49736), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1184](https://osv.dev/vulnerability/PYSEC-2026-1184), CC-BY-4.0, modified 2026-07-07
- Bitnami Vulnerability Database: [BIT-SUPERSET-2023-49736](https://osv.dev/vulnerability/BIT-SUPERSET-2023-49736), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-49736 · Whole record: https://cve.day/CVE-2023-49736.json · Rebuilt by cve.day 2026-11-25T22:58:31.509Z
