---
id: CVE-2025-58065
aliases:
  - GHSA-765j-9r45-w2q2
  - PYSEC-2026-1378
title: >-
  Flask App Builder has an Authentication Bypass vulnerability when using non
  AUTH_DB methods
summary: >-
  Flask App Builder has an Authentication Bypass vulnerability when using non
  AUTH_DB methods
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'
vendor: flask-appbuilder
product: flask-appbuilder
ecosystem: pip
affected:
  - flask-appbuilder < 4.8.1
patched:
  - flask-appbuilder 4.8.1
published: '2025-09-11'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:27.976836411Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-765j-9r45-w2q2'
references:
  - url: >-
      https://github.com/dpgaspar/Flask-AppBuilder/security/advisories/GHSA-765j-9r45-w2q2
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-58065'
  - url: 'https://github.com/dpgaspar/Flask-AppBuilder/pull/2384'
  - url: >-
      https://github.com/dpgaspar/Flask-AppBuilder/commit/a942a9cc5775752f9a02f97fd8198dd288fa93ee
  - url: 'https://github.com/dpgaspar/Flask-AppBuilder'
  - url: 'https://github.com/dpgaspar/Flask-AppBuilder/releases/tag/v4.8.1'
tags:
  - osv
  - pip
epss: 0.00403
epssPercentile: 0.31731
ingestedAt: '2026-07-08T18:25:46.782Z'
---

## Overview

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

## Affected packages

- `flask-appbuilder < 4.8.1`

## Remediation

Upgrade to a patched release:

- `flask-appbuilder 4.8.1`
