VDB
Sign up
MEDIUM6.5

PYSEC-2026-1162

Apache Superset: SQLLab Improper readonly query validation allows unauthorized write access

Quick fix

PYSEC-2026-1162 — apache-superset: upgrade to the fixed version with the command below.

pip install --upgrade 'apache-superset>=4.1.0'

Details

Improper Authorization vulnerability in Apache Superset. On Postgres analytic databases an attacker with SQLLab access can craft a specially designed SQL DML statement that is Incorrectly identified as a read-only query, enabling its execution. Non postgres analytics database connections and postgres analytics database connections set with a readonly user (advised) are not vulnerable. 

This issue affects Apache Superset: before 4.1.0.

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

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/apache-superset
Introduced in: 0Fixed in: 4.1.0
Fixpip install --upgrade 'apache-superset>=4.1.0'

References