CVE-2021-41972: Apache Superset Database Connections Password Leak
Summary
CVE-2021-41972: Apache Superset up to and including 1.3.1 allowed for database connections password leak for authenticated users. Affects apache-superset versions < 1.3.2. Fixed in 1.3.2. How to fix ↓
Also tracked for
- superset · Bitnami
The same CVE-2021-41972 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Apache Superset is an open-source data exploration and visualization platform that allows users to create interactive dashboards and reports. It is widely used for business intelligence and data analytics purposes. This vulnerability affects Apache Superset versions up to and including 1.3.1. The vulnerability allows authenticated users to leak database connection passwords in a non-trivial manner, potentially exposing sensitive information.
Vulnerability Detail
The vulnerability in Apache Superset allows authenticated users to access database connection passwords. This information can be obtained in a non-trivial way, which means it requires some level of effort or knowledge to exploit. The leaked passwords could be used by attackers to gain unauthorized access to the database or perform other malicious activities. It is important to note that this vulnerability only affects authenticated users, meaning an attacker would need valid credentials to exploit it.
How To Fix
Latest published version: 6.1.0 as of 23 Oct 2026
pip install --upgrade "apache-superset==6.1.0"
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
1.3.2
This is the first release that contains the fix.
pip install --upgrade "apache-superset==1.3.2"
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability. The recommended solution is to upgrade to the latest version of Apache Superset.
Conclusion
Apache Superset versions up to and including 1.3.1 are vulnerable to a database connections password leak issue. Authenticated users can access and leak database connection passwords, potentially leading to unauthorized access and data breaches. To mitigate this vulnerability, it is crucial to upgrade to Apache Superset version 1.3.2 or later. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for apache-superset →
FAQ
Apache Superset is an open-source data exploration and visualization platform used for creating interactive dashboards and reports.
The vulnerability allows authenticated users to leak database connection passwords, potentially exposing sensitive information and enabling unauthorized access to the database.
Users of Apache Superset versions up to and including 1.3.1 are affected by this vulnerability.
To fix this vulnerability, it is recommended to upgrade Apache Superset to version 1.3.2 or later.
There is no specific workaround mentioned for this vulnerability. Upgrading to the latest version is the recommended solution.
Related vulnerabilities
Recent vulnerabilities recorded for apache-superset.