CVE-2025-32962: Flask appbuilder Flask-AppBuilder Open Redirect Vulnerability Using Vulnerability

MODERATE
Advisory Identifier: GHSA-99pm-ch96-ccp2
CVSS 4.3
CWE-601
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2025-32962
GHSA Identifier GHSA-99pm-ch96-ccp2
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected Product Flask appbuilder
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (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.

flask-appbuilder fixed: 4.6.2
pip install flask-appbuilder>=4.6.2
Verify Direct and Transitive Dependencies

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

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

CVE-2025-32962 Affected Flask appbuilder Versions

1 component(s)
Fixed Versions:
4.6.2
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?
CVE-2025-32962 is a security vulnerability in Flask appbuilder involving Flask-AppBuilder open redirect vulnerability using HTTP host injection under CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Which Flask appbuilder versions are affected?
Affected versions include releases prior to 4.6.2 across affected packages: flask-appbuilder.
What version fixes CVE-2025-32962?
Upgrading to 4.6.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is flask-appbuilder affected?
Yes, flask-appbuilder is affected in releases prior to 4.6.2. Upgrade your dependency to 4.6.2 or later.
What is the CVSS score of CVE-2025-32962?
CVE-2025-32962 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2025-32962?
CVE-2025-32962 is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.).
How can I check PyPI dependencies for CVE-2025-32962?
Run the dependency tree command: 'pip show flask-appbuilder'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}