PyPI: flask-appbuilder

CVE-2025-32962

Safety vulnerability ID: SFTY-20250516-05507

Safety legacy ID: pyup.io-77317

Affected versions of the `Flask-AppBuilder` package are vulnerable to Open Redirect due to improper validation of the Host header in HTTP requests. The `redirect` function fails to verify that the Host header matches a trusted domain, allowing arbitrary redirection. An attacker can exploit this by crafting a request with a manipulated Host header, redirecting users to a malicious site without their knowledge or consent.

Created at: Jul 5, 2026Updated at: Jul 5, 2026

Overview

Flask-AppBuilder open redirect vulnerability using HTTP host injection

Advisory

Affected versions of the `Flask-AppBuilder` package are vulnerable to Open Redirect due to improper validation of the Host header in HTTP requests. The `redirect` function fails to verify that the Host header matches a trusted domain, allowing arbitrary redirection. An attacker can exploit this by crafting a request with a manipulated Host header, redirecting users to a malicious site without their knowledge or consent.

Affected Package

Affecting flask-appbuilder package, versions
<4.6.2

Also affects

---

How to Fix

Upgrade
flask-appbuilder
to
4.6.2
or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more