CVE-2021-41265: Improper Authentication in Flask-AppBuilder

flask-appbuilder Updated 02 Oct 2025

Summary

09/12/2021
Yes i
High
8.1

CVE-2021-41265: Improper Authentication in Flask-AppBuilder. Affects flask-appbuilder versions < 3.3.4. Fixed in 3.3.4. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Flask-AppBuilder is a Python package that provides a framework for building web applications. It includes features such as authentication, authorization, and REST API endpoints. This vulnerability affects Flask-AppBuilder versions prior to 3.3.4. The package allows for non-database authentication types and new REST API endpoints. However, improper authentication on the REST API can enable a malicious actor to successfully authenticate and gain access to protected endpoints.

Vulnerability Detail

The vulnerability arises from a flaw in the authentication mechanism of Flask-AppBuilder's REST API. By crafting a carefully designed request, an attacker can bypass authentication and gain unauthorized access to protected endpoints. This vulnerability only affects non-database authentication types and new REST API endpoints. The impact of this vulnerability is significant as it allows an attacker to access sensitive data or perform unauthorized actions on the affected system.

How To Fix

Minimum fixed version

3.3.4

This is the first release that contains the fix.

pip install --upgrade "flask-appbuilder==3.3.4"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the recommended fix by upgrading to Flask-AppBuilder 3.3.4 or later.

Conclusion

The vulnerability in Flask-AppBuilder allows for improper authentication on the REST API, enabling unauthorized access to protected endpoints. To mitigate this risk, it is recommended to upgrade to Flask-AppBuilder 3.3.4 or later. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for flask-appbuilder →

Share this vulnerability

FAQ

Flask-AppBuilder is a Python package that provides a framework for building web applications. It includes features such as authentication, authorization, and REST API endpoints.

Flask-AppBuilder versions prior to 3.3.4 are affected by this vulnerability.

The vulnerability allows an attacker to bypass authentication and gain unauthorized access to protected REST API endpoints, potentially leading to unauthorized actions or access to sensitive data.

To fix this vulnerability, upgrade to Flask-AppBuilder 3.3.4 or later, which includes a patch for the improper authentication issue.

No, there is no known workaround for this vulnerability. It is crucial to apply the recommended fix by upgrading to the patched version.

Related vulnerabilities

Recent vulnerabilities recorded for flask-appbuilder.

How To Fix

Minimum fixed version

3.3.4

This is the first release that contains the fix.

pip install --upgrade "flask-appbuilder==3.3.4"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback