Flask-AppBuilder open redirect vulnerability using HTTP host injection
Moderate severity
GitHub Reviewed
Published
May 16, 2025
in
dpgaspar/Flask-AppBuilder
•
Updated May 16, 2025
Description
Published by the National Vulnerability Database
May 16, 2025
Published to the GitHub Advisory Database
May 16, 2025
Reviewed
May 16, 2025
Last updated
May 16, 2025
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:
Workarounds
Use a Reverse Proxy to Enforce Trusted Host Headers
References
Are there any links users can visit to find out more?
References