Vulnerabilities in pkg:pypi/flask-appbuilder

PACKAGE
Advisory Identifier: GHSA-765j-9r45-w2q2
Advisory Summary

CVE-2025-58065 is a MODERATE (CVSS 6.5) authentication bypass vulnerability (CWE-287: Improper Authentication) affecting Flask appbuilder libraries in the PyPI ecosystem. The issue involves flask app builder has an authentication bypass vulnerability when using non auth_db methods. Remediation is available by upgrading affected packages to version 4.8.1.

4 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/flask-appbuilder

4 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/flask-appbuilder. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-765j-9r45-w2q2 CVE-2025-58065 MODERATE Flask App Builder has an Authentication Bypass vulnerability when using non AUTH_DB methods
GHSA-99pm-ch96-ccp2 CVE-2025-32962 MODERATE Flask-AppBuilder open redirect vulnerability using HTTP host injection
GHSA-p8q5-cvwx-wvwp CVE-2025-24023 LOW Flask-AppBuilder Observable Response Discrepancy
GHSA-fw5r-6m3x-rh7p CVE-2024-45314 MODERATE Flask-AppBuilder's login form allows browser to cache sensitive fields

CVE-2025-58065 at a Glance

CVE Identifier CVE-2025-58065
GHSA Identifier GHSA-765j-9r45-w2q2
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-287: Improper Authentication
Affected Product Flask appbuilder
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2025-58065

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.8.1
pip install flask-appbuilder>=4.8.1
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-58065, 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.8.1), 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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. 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 When Flask-AppBuilder is configured to use OAuth, LDAP, or other non-database authentication methods, the password reset endpoint remains registered and accessible, despite not being displayed in the user interface. This allows an enabled user to reset their password and be able to create JWT tokens even after the user is disabled on the authentication provider. ### Patches Upgrade to Flask-AppBuilder version 4.8.1 or later ### Workarounds If immediate upgrade is not possible: - Manually disable password reset routes in the application configuration - Implement additional access controls at the web server or proxy level to block access to the reset my password URL. - Monitor for suspicious password reset attempts from disabled accounts

CVE-2025-58065 Affected Flask appbuilder Versions

1 component(s)
Fixed Versions:
4.8.1
Product / Package Ecosystem Affected Versions Fixed Version
flask-appbuilder
PyPI
< 4.8.1
4.8.1

References

Frequently Asked Questions

What is CVE-2025-58065?
CVE-2025-58065 is a security vulnerability in Flask appbuilder involving Flask App Builder has an Authentication Bypass vulnerability when using non AUTH_DB methods under CWE-287: Improper Authentication.
Which Flask appbuilder versions are affected?
Affected versions include releases prior to 4.8.1 across affected packages: flask-appbuilder.
What version fixes CVE-2025-58065?
Upgrading to 4.8.1 (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.8.1. Upgrade your dependency to 4.8.1 or later.
What is the CVSS score of CVE-2025-58065?
CVE-2025-58065 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2025-58065?
CVE-2025-58065 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check PyPI dependencies for CVE-2025-58065?
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-765j-9r45-w2q2",
  "modified" : "2025-09-13T04:44:01Z",
  "published" : "2025-09-11T16:51:57Z",
  "aliases" : [ "CVE-2025-58065" ],
  "summary" : "Flask App Builder has an Authentication Bypass vulnerability when using non AUTH_DB methods",
  "details" : "### Impact\nWhen Flask-AppBuilder is configured to use OAuth, LDAP, or other non-database authentication methods, the password reset endpoint remains registered and accessible, despite not being displayed in the user interface. This allows an enabled user to reset their password and be able to create JWT tokens even after the user is disabled on the authentication provider.\n\n### Patches\nUpgrade to Flask-AppBuilder version 4.8.1 or later\n\n### Workarounds\nIf immediate upgrade is not possible:\n- Manually disable password reset routes in the application configuration\n- Implement additional access controls at the web server or proxy level to block access to the reset my password URL.\n- Monitor for suspicious password reset attempts from disabled accounts",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "flask-appbuilder"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.8.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/dpgaspar/Flask-AppBuilder/security/advisories/GHSA-765j-9r45-w2q2"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-58065"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/dpgaspar/Flask-AppBuilder/pull/2384"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/dpgaspar/Flask-AppBuilder/commit/a942a9cc5775752f9a02f97fd8198dd288fa93ee"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/dpgaspar/Flask-AppBuilder"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/dpgaspar/Flask-AppBuilder/releases/tag/v4.8.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-09-11T16:51:57Z",
    "nvd_published_at" : "2025-09-11T18:15:35Z"
  }
}