PYSEC-2026-1378
Vulnerability from pysec - Published: 2026-07-07 16:03 - Updated: 2026-07-07 17:24Impact
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
| Name | purl | flask-appbuilder | pkg:pypi/flask-appbuilder |
|---|
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "flask-appbuilder",
"purl": "pkg:pypi/flask-appbuilder"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.8.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.1.10",
"0.1.11",
"0.1.12",
"0.1.13",
"0.1.14",
"0.1.15",
"0.1.16",
"0.1.17",
"0.1.18",
"0.1.19",
"0.1.20",
"0.1.21",
"0.1.22",
"0.1.23",
"0.1.24",
"0.1.25",
"0.1.26",
"0.1.27",
"0.1.28",
"0.1.29",
"0.1.3",
"0.1.33",
"0.1.34",
"0.1.35",
"0.1.36",
"0.1.37",
"0.1.38",
"0.1.4",
"0.1.43",
"0.1.44",
"0.1.45",
"0.1.46",
"0.1.47",
"0.1.5",
"0.1.6",
"0.1.7",
"0.1.8",
"0.1.9",
"0.10.0",
"0.10.1",
"0.10.2",
"0.10.3",
"0.10.4",
"0.10.5",
"0.10.6",
"0.10.7",
"0.2.0",
"0.2.1",
"0.2.2",
"0.3.0",
"0.3.1",
"0.3.10",
"0.3.11",
"0.3.12",
"0.3.13",
"0.3.14",
"0.3.15",
"0.3.16",
"0.3.17",
"0.3.2",
"0.3.3",
"0.3.4",
"0.3.5",
"0.3.6",
"0.3.7",
"0.3.8",
"0.3.9",
"0.4.0",
"0.4.1",
"0.4.2",
"0.4.3",
"0.5.0",
"0.5.1",
"0.5.2",
"0.5.3",
"0.5.4",
"0.5.5",
"0.5.6",
"0.6.1",
"0.6.10",
"0.6.11",
"0.6.12",
"0.6.13",
"0.6.14",
"0.6.2",
"0.6.3",
"0.6.4",
"0.6.5",
"0.6.6",
"0.6.7",
"0.6.8",
"0.6.9",
"0.7.0",
"0.7.1",
"0.7.2",
"0.7.3",
"0.7.4",
"0.7.5",
"0.7.6",
"0.7.7",
"0.7.8",
"0.8.0",
"0.8.1",
"0.8.2",
"0.8.3",
"0.8.4",
"0.8.5",
"0.9.0",
"0.9.1",
"0.9.2",
"0.9.3",
"1.0.0",
"1.0.1",
"1.1.0",
"1.1.1",
"1.1.2",
"1.1.3",
"1.10.0",
"1.11.0",
"1.11.1",
"1.12.0",
"1.12.1",
"1.12.2",
"1.12.3",
"1.12.4",
"1.12.5",
"1.13.0",
"1.13.1",
"1.2.0",
"1.2.1",
"1.3.0",
"1.3.1",
"1.3.2",
"1.3.3",
"1.3.4",
"1.3.5",
"1.3.6",
"1.3.7",
"1.4.0",
"1.4.1",
"1.4.2",
"1.4.3",
"1.4.4",
"1.4.5",
"1.4.6",
"1.4.7",
"1.5.0",
"1.6.0",
"1.6.1",
"1.6.2",
"1.6.3",
"1.7.0",
"1.7.1",
"1.8.0",
"1.8.1",
"1.9.0",
"1.9.1",
"1.9.2",
"1.9.3",
"1.9.4",
"1.9.5",
"1.9.6",
"2.0.0",
"2.1.0",
"2.1.1",
"2.1.10",
"2.1.11",
"2.1.12",
"2.1.13",
"2.1.2",
"2.1.3",
"2.1.4",
"2.1.5",
"2.1.6",
"2.1.7",
"2.1.8",
"2.1.9",
"2.2.0",
"2.2.0rc1",
"2.2.0rc2",
"2.2.1",
"2.2.1rc1",
"2.2.1rc2",
"2.2.1rc3",
"2.2.2",
"2.2.2rc1",
"2.2.2rc2",
"2.2.2rc3",
"2.2.3",
"2.2.3rc1",
"2.2.3rc2",
"2.2.3rc3",
"2.2.3rc4",
"2.2.3rc5",
"2.2.3rc6",
"2.2.4",
"2.2.4rc1",
"2.3.0",
"2.3.0rc1",
"2.3.0rc2",
"2.3.0rc3",
"2.3.0rc4",
"2.3.1",
"2.3.1rc1",
"2.3.2",
"2.3.2rc1",
"2.3.3",
"2.3.3rc1",
"2.3.3rc2",
"2.3.3rc3",
"2.3.4",
"2.3.4rc1",
"3.0.0",
"3.0.0rc1",
"3.0.0rc2",
"3.0.0rc3",
"3.0.0rc4",
"3.0.1",
"3.0.1rc1",
"3.1.0",
"3.1.0rc1",
"3.1.0rc2",
"3.1.0rc3",
"3.1.1",
"3.1.1rc1",
"3.1.1rc2",
"3.1.1rc3",
"3.2.0",
"3.2.0rc1",
"3.2.0rc2",
"3.2.1",
"3.2.1rc1",
"3.2.2",
"3.2.2rc1",
"3.2.3",
"3.2.3rc1",
"3.2.3rc2",
"3.3.0",
"3.3.0rc1",
"3.3.1",
"3.3.1rc1",
"3.3.2",
"3.3.2rc1",
"3.3.3",
"3.3.3rc1",
"3.3.4",
"3.3.4rc1",
"3.4.0",
"3.4.0rc1",
"3.4.0rc2",
"3.4.1",
"3.4.1rc1",
"3.4.1rc2",
"3.4.1rc3",
"3.4.2",
"3.4.2rc1",
"3.4.3",
"3.4.3rc1",
"3.4.3rc2",
"3.4.4",
"3.4.4rc1",
"3.4.5",
"3.4.5rc1",
"4.0.0",
"4.0.0rc1",
"4.0.0rc2",
"4.0.0rc3",
"4.0.1rc1",
"4.1.0",
"4.1.1",
"4.1.1rc1",
"4.1.2",
"4.1.2rc1",
"4.1.3",
"4.1.3rc1",
"4.1.4",
"4.1.4rc1",
"4.1.5",
"4.1.5rc1",
"4.1.6",
"4.1.6rc1",
"4.1.7rc1",
"4.2.0",
"4.2.0rc1",
"4.2.1",
"4.2.1rc1",
"4.2.2rc1",
"4.3.0",
"4.3.0rc1",
"4.3.1",
"4.3.10",
"4.3.10rc1",
"4.3.11",
"4.3.11rc1",
"4.3.1rc1",
"4.3.2",
"4.3.2rc1",
"4.3.2rc2",
"4.3.3",
"4.3.3rc1",
"4.3.3rc2",
"4.3.4",
"4.3.4rc1",
"4.3.5",
"4.3.5rc1",
"4.3.5rc2",
"4.3.6",
"4.3.6rc1",
"4.3.7",
"4.3.7rc1",
"4.3.8",
"4.3.8rc1",
"4.3.9",
"4.3.9rc1",
"4.4.0",
"4.4.0rc1",
"4.4.1",
"4.4.1rc2",
"4.5.0",
"4.5.0rc1",
"4.5.1",
"4.5.1rc1",
"4.5.2",
"4.5.2rc1",
"4.5.3",
"4.5.3rc1",
"4.5.4",
"4.5.4rc1",
"4.5.4rc2",
"4.5.5",
"4.5.5rc1",
"4.5.5rc2",
"4.6.0",
"4.6.0.dev1",
"4.6.0.dev2",
"4.6.0rc1",
"4.6.1",
"4.6.1rc1",
"4.6.1rc2",
"4.6.1rc3",
"4.6.2",
"4.6.2rc1",
"4.6.3",
"4.6.3rc1",
"4.6.3rc2",
"4.6.4",
"4.6.4rc1",
"4.7.0",
"4.7.0rc1",
"4.7.0rc2",
"4.8.0",
"4.8.0rc1",
"4.8.1rc1"
]
}
],
"aliases": [
"CVE-2025-58065",
"GHSA-765j-9r45-w2q2"
],
"details": "### Impact\nWhen 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.\n\n### Patches\nUpgrade to Flask-AppBuilder version 4.8.1 or later\n\n### Workarounds\nIf immediate upgrade is not possible:\n- Manually disable password reset routes in the application configuration\n- Implement additional access controls at the web server or proxy level to block access to the reset my password URL.\n- Monitor for suspicious password reset attempts from disabled accounts",
"id": "PYSEC-2026-1378",
"modified": "2026-07-07T17:24:08.879480Z",
"published": "2026-07-07T16:03:04.816469Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/dpgaspar/Flask-AppBuilder/security/advisories/GHSA-765j-9r45-w2q2"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-58065"
},
{
"type": "WEB",
"url": "https://github.com/dpgaspar/Flask-AppBuilder/pull/2384"
},
{
"type": "WEB",
"url": "https://github.com/dpgaspar/Flask-AppBuilder/commit/a942a9cc5775752f9a02f97fd8198dd288fa93ee"
},
{
"type": "PACKAGE",
"url": "https://github.com/dpgaspar/Flask-AppBuilder"
},
{
"type": "WEB",
"url": "https://github.com/dpgaspar/Flask-AppBuilder/releases/tag/v4.8.1"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/flask-appbuilder"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-765j-9r45-w2q2"
}
],
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
"type": "CVSS_V3"
}
],
"summary": "Flask App Builder has an Authentication Bypass vulnerability when using non AUTH_DB methods"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.