CVE-2025-32962: Flask appbuilder Flask-AppBuilder Open Redirect Vulnerability Using Vulnerability
MODERATECVE-2025-32962 is a MODERATE (CVSS 4.3) flask-appbuilder open redirect vulnerability using vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Flask appbuilder libraries in the PyPI ecosystem. The issue involves flask-appbuilder open redirect vulnerability using http host injection. Remediation is available by upgrading affected packages to version 4.6.2.
CVE-2025-32962 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N).
How to Fix CVE-2025-32962
To remediate this vulnerability, upgrade all affected Flask appbuilder dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install flask-appbuilder>=4.6.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show flask-appbuilder
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-32962, inspect your installed packages using pip:
pip show flask-appbuilder
Analyze the terminal output to locate any version of Flask appbuilder in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.6.2), your application is affected.
Note: The pip show flask-appbuilder command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Flask appbuilder, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-32962 Affected Flask appbuilder Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
flask-appbuilder
|
PyPI |
< 4.6.2
|
4.6.2
|
References
Frequently Asked Questions
What is CVE-2025-32962?
Which Flask appbuilder versions are affected?
What version fixes CVE-2025-32962?
Is flask-appbuilder affected?
What is the CVSS score of CVE-2025-32962?
What CWE is associated with CVE-2025-32962?
How can I check PyPI dependencies for CVE-2025-32962?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-99pm-ch96-ccp2",
"modified" : "2025-05-16T17:28:25Z",
"published" : "2025-05-16T17:28:25Z",
"aliases" : [ "CVE-2025-32962" ],
"summary" : "Flask-AppBuilder open redirect vulnerability using HTTP host injection",
"details" : "### Impact\nFlask-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.\n \n### Patches\nFlask-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.\n\nExamples:\n```\nFAB_SAFE_REDIRECT_HOSTS = [\"yourdomain.com\", \"sub.yourdomain.com\", \"*.yourcompany.com\"]\n```\n\n### Workarounds\nUse a Reverse Proxy to Enforce Trusted Host Headers\n\n### References\n_Are there any links users can visit to find out more?_",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "flask-appbuilder"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.6.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/dpgaspar/Flask-AppBuilder/security/advisories/GHSA-99pm-ch96-ccp2"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-32962"
}, {
"type" : "WEB",
"url" : "https://github.com/dpgaspar/Flask-AppBuilder/commit/32eedbbb5cb483a3e782c5f2732de4a6a650d9b6"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/dpgaspar/Flask-AppBuilder"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-601" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-16T17:28:25Z",
"nvd_published_at" : "2025-05-16T14:15:31Z"
}
}