GitHub Advisoryadvisory · PyPI

GHSA-99pm-ch96-ccp2 Flask-AppBuilder open redirect vulnerability using HTTP host injection

MEDIUM Published 2025-05-16 Modified 2025-05-16 Official page ↗
Aliases
CVE-2025-32962
Ecosystem
PyPI
Packages
flask-appbuilder
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Weaknesses
CWE-601
Reviewed
2025-05-16

Affected packages

• PyPI flask-appbuilder: < 4.6.2 → fixed in 4.6.2

Description

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?_

Related

Alias · CVE (1)

  • CVE-2025-32962 Flask-AppBuilder is an application development framework built on top of Flask. vulnerability

Weakness · CWE (1)

  • CWE-601 URL Redirection to Untrusted Site weakness

References