flask-appbuilder
Affected
- introduced
0, fixed4.6.2(ecosystem)
Fixed versions
4.6.2
Fix
- Fixed version
4.6.2pip install --upgrade flask-appbuilder==4.6.2
Advisory
Also known as: CVE-2025-32962, GHSA-99pm-ch96-ccp2
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 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?_
Medium Basis: CVSS v3 score 4.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
0, fixed 4.6.2 (ecosystem)4.6.2
4.6.2pip install --upgrade flask-appbuilder==4.6.2Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0