---
id: CVE-2024-24773
aliases:
  - GHSA-5474-f7g5-273q
  - BIT-superset-2024-24773
  - PYSEC-2026-1160
title: >-
  Apache Superset: Improper validation of SQL statements allows for unauthorized
  access to data
summary: >-
  Apache Superset: Improper validation of SQL statements allows for unauthorized
  access to data
severity: medium
cvss: 4.9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N'
vendor: apache-superset
product: apache-superset
ecosystem: pip
affected:
  - apache-superset < 3.0.4
  - 'apache-superset >= 3.1.0, < 3.1.1'
patched:
  - apache-superset 3.0.4
  - apache-superset 3.1.1
published: '2024-02-28'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-5474-f7g5-273q'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-24773'
  - url: 'https://github.com/apache/superset'
  - url: 'https://lists.apache.org/thread/h66fy6nj41cfx07zh7l552w6dmtjh501'
  - url: 'http://www.openwall.com/lists/oss-security/2024/02/28/4'
tags:
  - osv
  - pip
epss: 0.00779
epssPercentile: 0.54037
ingestedAt: '2026-07-08T18:25:45.758Z'
---

## Overview

Improper parsing of nested SQL statements on SQLLab would allow authenticated users to surpass their data authorization scope.
This issue affects Apache Superset: before 3.0.4, from 3.1.0 before 3.1.1.

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

## Affected packages

- `apache-superset < 3.0.4`
- `apache-superset >= 3.1.0, < 3.1.1`

## Remediation

Upgrade to a patched release:

- `apache-superset 3.0.4`
- `apache-superset 3.1.1`
