CVE-2025-58065 Flask App Builder has an Authentication Bypass vulnerability when using non AUTH_DB methods

Medium 6.5 Published Updated

Attackers can reset passwords and create JWT tokens for disabled accounts when using non-database authentication methods in Flask-AppBuilder.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-58065?

CVE-2025-58065 is a medium-severity authentication bypass vulnerability in dpgaspar Flask-AppBuilder, published on 11 Sep 2025. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-287

Which versions are affected by CVE-2025-58065?

3 open source packages ship an affected version, including flask-appbuilder. It affects 1 product.

PackageAffectedFixed in
flask-appbuilder PyPIAll versions4.8.1
flask-appbuilder PyPIAll versions4.8.1
flask-appbuilder PyPIAll versions4.8.1

Products include Dpgaspar Flask-Appbuilder.

How do I fix CVE-2025-58065?

Upgrade flask-appbuilder to 4.8.1 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2025-58065 being exploited?

There is no known exploitation of CVE-2025-58065 in the wild and no public exploit code.

Sources

Also known as CLEANSTART-2026-AR41102, CLEANSTART-2026-KG57806, ECHO-7b59-8764-d50d, GHSA-765j-9r45-w2q2, MINI-jr9h-4f79-7mc8, MINI-r857-42r5-r26j and 2 more.

Is CVE-2025-58065 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free