# CVE-2024-53949: PYSEC-2026-1156 - Apache Superset: Lower privilege users are able to create Role when FAB_ADD_SECURITY_API is enabled

Source: https://junglewise.ai/threats/cve-2024-53949-apache-superset-authorization-bypass-in-role-creation-api  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-07. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

CVE-2024-53949 · Severity: low · CVSS 3.1 · Published 2026-07-07

Apache Superset is an open-source business intelligence platform used to create interactive dashboards and analyze data. A vulnerability in the FAB security API allows lower-privilege users (those without role-creation permissions) to create new roles, potentially leading to privilege escalation and unauthorized system changes. This configuration is disabled by default but can be enabled by administrators.

Technologies: [Apache Superset](https://junglewise.ai/threats/technologies/superset), [apache-superset (PyPI)](https://junglewise.ai/threats/technologies/apache-superset). Vendors: [Apache](https://junglewise.ai/threats/vendors/apache), [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2024-53949 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-53949 being exploited in the wild.

**How severe is CVE-2024-53949?** Low severity, with a CVSS score of 3.1, published 7 July 2026.

**Which products and versions are affected?** Apache Superset 2.0.0 to 4.0.2; apache-superset (PyPI) ECOSYSTEM:introduced=2.0.0,fixed=4.1.0.

**Is there a fix for CVE-2024-53949?** Yes. apache-superset (PyPI): upgrade to 4.1.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2024-53949 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2024-53949?** Check whether you run Apache Superset or apache-superset (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- apache-superset (PyPI): upgrade to 4.1.0 or later

  ```sh
  pip install "apache-superset>=4.1.0"
  ```


## Technical details

An improper authorization vulnerability (CWE-285, CWE-863) exists in Apache Superset's Flask-AppBuilder security API endpoint when the FAB_ADD_SECURITY_API flag is enabled. Lower-privilege users (Gamma users) can invoke the role creation API despite lacking the necessary permissions, bypassing authorization checks. The vulnerability requires network access and an authenticated account, but no admin role is needed. An attacker can exploit this to create arbitrary roles and escalate privileges. The fix is available in version 4.1.0, which properly enforces authorization on the security API endpoints.

## Affected products

- Apache Superset 2.0.0 to 4.0.2

## Identifiers

- CVE-2024-53949
- GHSA-35fc-9hrj-3585
- PYSEC-2026-1156

## Timeline

- 2024-12-09: disclosed
- 2024-12-09: patched: Fix available in version 4.1.0

## References

- [https://github.com/apache/superset/commit/7650c47e72f28559e91524f5d68d50c2060df4c7](https://github.com/apache/superset/commit/7650c47e72f28559e91524f5d68d50c2060df4c7)

## Related threats

- [PYSEC-2026-2376 - Apache Superset: Read-Only Bypass via Improper Input Validation on PostgreSQL Connections](https://junglewise.ai/threats/cve-2026-23984-apache-superset-read-only-bypass-via-improper-input-validation-on)
- [PYSEC-2026-2375 - Apache Superset allows authenticated users to view sensitive data without explicit permissions](https://junglewise.ai/threats/cve-2026-23983-apache-superset-allows-authenticated-users-to-view-sensitive-data)
- [PYSEC-2026-2373 - Apache Superset: Incomplete DISALLOWED_SQL_FUNCTIONS default list for ClickHouse engine](https://junglewise.ai/threats/cve-2026-23969-apache-superset-incomplete-disallowed-sql-functions-default-list)
- [PYSEC-2026-2374 - Apache Superset allows privileged users to conduct error-based SQL Injection](https://junglewise.ai/threats/cve-2026-23980-apache-superset-allows-privileged-users-to-conduct-error-based)
- [PYSEC-2026-2372 - Apache Superset Improper Authorization allows low-privileged users to bypass access controls](https://junglewise.ai/threats/cve-2026-23982-apache-superset-improper-authorization-in-dataset-access-controls)
