CVE-2022-24776: Open Redirect in Flask-AppBuilder

flask-appbuilder Updated 02 Oct 2025

Summary

25/03/2022
Yes i
Moderate
6.1

CVE-2022-24776: Open Redirect in Flask-AppBuilder. Affects flask-appbuilder versions < 3.4.5. Fixed in 3.4.5. 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 an application development framework built on top of Flask. It provides a set of reusable components and tools for building web applications. Flask-AppBuilder versions prior to 3.4.5 are affected by an open redirect vulnerability when using the database authentication login page. This vulnerability allows an attacker to redirect users to malicious websites, potentially leading to phishing attacks or the disclosure of sensitive information.

Vulnerability Detail

The open redirect vulnerability in Flask-AppBuilder arises due to insufficient validation of user-supplied input. By manipulating the redirect URL parameter, an attacker can craft a malicious URL that appears to be legitimate but redirects the user to a different website. This can be exploited to trick users into visiting phishing websites or disclosing sensitive information. The vulnerability has a CVSS score of 6.1, indicating a moderate severity level.

How To Fix

Minimum fixed version

3.4.5

This is the first release that contains the fix.

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

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

Conclusion

Flask-AppBuilder versions prior to 3.4.5 are vulnerable to an open redirect attack. This can lead to phishing attacks and the disclosure of sensitive information. It is crucial to upgrade to version 3.4.5 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for flask-appbuilder →

Share this vulnerability

FAQ

Flask-AppBuilder is an application development framework built on top of Flask. It provides a set of reusable components and tools for building web applications.

An open redirect vulnerability occurs when a web application allows external input to control the destination of a redirect. Attackers can manipulate the redirect URL to trick users into visiting malicious websites.

This vulnerability can be exploited by attackers to redirect users to phishing websites or disclose sensitive information. It can lead to account compromise, data theft, or other malicious activities.

No, there are no known workarounds for this vulnerability. Upgrading to the latest version of Flask-AppBuilder is the recommended solution.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, providing valuable insights without requiring access to the code or installation.

Related vulnerabilities

Recent vulnerabilities recorded for flask-appbuilder.

How To Fix

Minimum fixed version

3.4.5

This is the first release that contains the fix.

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

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