CVE-2025-32962: Flask-AppBuilder open redirect vulnerability using HTTP host injection
Impact Flask-AppBuilder prior to 4.6.2 would allow for a malicious unauthenticated actor to perform an open redirect by manipulating the Host header in HTTP requests. Patches Flask-AppBuilder 4.6.2 introduced the FABSAFEREDIRECTHOSTS configuration variable, which allows administrators to explicitly define which domains are considered safe for redirection.
Published May 16, 2025
Affected packages
flask-appbuilder
- Ecosystem
- PyPI
- Affected
- < 4.6.2
- Fixed in
- 4.6.2
- Check
pip show flask-appbuilder
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
Flask-AppBuilder prior to 4.6.2 would allow for a malicious unauthenticated actor to perform an open redirect by manipulating the Host header in HTTP requests.
Patches
Flask-AppBuilder 4.6.2 introduced the FAB_SAFE_REDIRECT_HOSTS configuration variable, which allows administrators to explicitly define which domains are considered safe for redirection.
Examples:
FAB_SAFE_REDIRECT_HOSTS = ["yourdomain.com", "sub.yourdomain.com", "*.yourcompany.com"]Workarounds
Use a Reverse Proxy to Enforce Trusted Host Headers
References
_Are there any links users can visit to find out more?_
Credited to 0xr0n0.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2025-58065
Flask App Builder has an Authentication Bypass vulnerability when using non AUTH_DB methods
medium6.5Sep 11, 2025CVE-2025-24023
Flask-AppBuilder Observable Response Discrepancy
low3.7Mar 3, 2025CVE-2024-45314
Flask-AppBuilder's login form allows browser to cache sensitive fields
medium3.6Sep 4, 2024
