Flask App Builder has an Authentication Bypass vulnerability when using non AUTH_DB methods
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-287.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| dpgaspar | Flask-AppBuilder | before 4.8.1 | 4.8.1 | Patch available | CNA |
| — | flask-appbuilder (PyPI) | before 4.8.1 | 4.8.1 | Patch available | GHSA-765j-9r45-w2q2 |
- Flask-AppBuilder Vendordpgaspar Affected before 4.8.1 Fixed in 4.8.1 Patch available CNA
- flask-appbuilder (PyPI) Vendor— Affected before 4.8.1 Fixed in 4.8.1 Patch available GHSA-765j-9r45-w2q2
Remediation
- Fix · CNA Flask-AppBuilder (dpgaspar) Fixed in 4.8.1
- Fix · GHSA-765j-9r45-w2q2 flask-appbuilder (PyPI) Fixed in 4.8.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-58065
- 2026-10-03 Alias added: GHSA-765j-9r45-w2q2
References
Patch 2
Advisory 2
More dpgaspar Flask-appbuilder vulnerabilities
- TI-2024-17946 Flask-AppBuilder's OAuth login page subject to Cross Site Scripting (XSS) CVSS 3.1MEDIUM 6.1
- TI-2024-16581 Flask-AppBuilder incorrect authentication when using auth type OpenID CVSS 3.1CRITICAL 9.1
- TI-2021-18097 Improper Authentication in Flask-AppBuilder CVSS 3.1HIGH 8.8
- TI-2023-13466 No Rate Limiting on Login AUTH DB CVSS 3.1HIGH 7.5
- TI-2021-12470 URL Redirection to Untrusted Site ('Open Redirect') in Flask-AppBuilder CVSS 3.1HIGH 7.2
- TI-2022-06037 Observable Response Discrepancy in Flask-AppBuilder CVSS 3.1MEDIUM 5.3
Sources
- CVE-2025-58065 · CVE Program
- CVE-2025-58065 · NVD
- FIRST EPSS
- GHSA-765j-9r45-w2q2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences