---
id: CVE-2025-48912
aliases:
  - GHSA-8w7f-8pr9-xgwj
  - BIT-superset-2025-48912
  - PYSEC-2026-1164
title: >-
  Apache Superset: Improper authorization bypass on row level security via SQL
  Injection
summary: >-
  Apache Superset: Improper authorization bypass on row level security via SQL
  Injection
severity: high
vendor: apache-superset
product: apache-superset
ecosystem: pip
affected:
  - apache-superset < 4.1.2
patched:
  - apache-superset 4.1.2
published: '2025-05-30'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-8w7f-8pr9-xgwj'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-48912'
  - url: 'https://github.com/apache/superset'
  - url: 'https://lists.apache.org/thread/ms2t2oq218hb7l628trsogo4fj7h1135'
  - url: 'http://www.openwall.com/lists/oss-security/2025/05/30/3'
tags:
  - osv
  - pip
epss: 0.0072
epssPercentile: 0.51919
ingestedAt: '2026-07-08T18:25:47.563Z'
---

## Overview

An authenticated malicious actor using specially crafted requests could bypass row level security configuration by injecting SQL into 'sqlExpression' fields. This allowed the execution of sub-queries to evade parsing defenses ultimately granting unauthorized access to data.

This issue affects Apache Superset: before 4.1.2.

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

## Affected packages

- `apache-superset < 4.1.2`

## Remediation

Upgrade to a patched release:

- `apache-superset 4.1.2`
