CVE-2025-32962: Flask-AppBuilder Open Redirect Vulnerability via HTTP Host Injection

flask-appbuilder Updated 02 Oct 2025

Summary

16/05/2025
Yes i
Moderate
4.3

CVE-2025-32962: Flask-AppBuilder open redirect vulnerability using HTTP host injection. Affects flask-appbuilder versions < 4.6.2. Fixed in 4.6.2. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Flask-AppBuilder is a popular framework for building web applications in Python, providing a robust set of tools for creating and managing web applications with ease. It allows developers to create user interfaces, manage databases, and implement authentication. However, prior to version 4.6.2, Flask-AppBuilder was susceptible to an open redirect vulnerability, which could be exploited by malicious actors to redirect users to untrusted domains.

Vulnerability Detail

The vulnerability arises from the improper handling of the Host header in HTTP requests. An unauthenticated attacker could manipulate this header to redirect users to arbitrary external sites, potentially leading to phishing attacks or other malicious activities. This issue is classified under CWE-601, indicating a weakness in the application's ability to validate redirect targets based on the Host header.

How To Fix

Minimum fixed version

4.6.2

This is the first release that contains the fix.

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

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

Workaround

As a temporary measure, you can use a reverse proxy to enforce trusted Host headers, ensuring that only requests with valid headers are processed by your application.

Conclusion

In summary, the open redirect vulnerability in Flask-AppBuilder prior to version 4.6.2 poses a significant risk to web applications. It is crucial for developers to update to the latest version and configure safe redirect hosts to mitigate this issue effectively. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for flask-appbuilder →

Share this vulnerability

FAQ

An open redirect vulnerability allows attackers to redirect users to untrusted or malicious websites, often leading to phishing attacks.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which monitors and alerts for open-source vulnerabilities without requiring installation.

The primary risk is that users may be redirected to malicious sites, which can lead to data theft, credential harvesting, or malware installation.

Yes, you can implement a reverse proxy to enforce trusted Host headers as a temporary workaround until you can update the package.

The CVSS score for this vulnerability is 4.3, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for flask-appbuilder.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

4.6.2

This is the first release that contains the fix.

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

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