Advisory

PYSEC-2026-1378

Also known as: CVE-2025-58065, GHSA-765j-9r45-w2q2

Summary

Flask App Builder has an Authentication Bypass vulnerability when using non AUTH_DB methods

Details

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

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Dates

Published
2026-07-07 16:03 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

flask-appbuilder

PyPI · All systems

Affected

  • introduced 0, fixed 4.8.1 (ecosystem)

Fixed versions

4.8.1

Fix

  • Fixed version 4.8.1
    pip install --upgrade flask-appbuilder==4.8.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences