---
id: CVE-2023-49736
aliases:
  - GHSA-jfxj-xf67-x723
  - BIT-superset-2023-49736
  - PYSEC-2026-1184
title: Apache Superset SQL injection vulnerability
summary: Apache Superset SQL injection vulnerability
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'
vendor: apache-superset
product: apache-superset
ecosystem: pip
affected:
  - apache-superset < 2.1.3
  - 'apache-superset >= 3.0.0, < 3.0.2'
patched:
  - apache-superset 2.1.3
  - apache-superset 3.0.2
published: '2023-12-19'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-jfxj-xf67-x723'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-49736'
  - url: 'https://github.com/apache/superset/pull/25779'
  - url: >-
      https://github.com/apache/superset/commit/1d403dab9822a8cee6108669c53e53fad881c751
  - url: >-
      https://github.com/apache/superset/commit/34101594e284ab3acce692f41aff7759ccb4bf1d
  - url: 'https://github.com/apache/superset'
  - url: 'https://lists.apache.org/thread/1kf481bgs3451qcz6hfhobs7xvhp8n1p'
  - url: 'http://www.openwall.com/lists/oss-security/2023/12/19/2'
tags:
  - osv
  - pip
epss: 0.01188
epssPercentile: 0.66519
ingestedAt: '2026-07-08T18:25:50.667Z'
---

## Overview

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.3, from 3.0.0 before 3.0.2.

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

## Affected packages

- `apache-superset < 2.1.3`
- `apache-superset >= 3.0.0, < 3.0.2`

## Remediation

Upgrade to a patched release:

- `apache-superset 2.1.3`
- `apache-superset 3.0.2`
