{"answers":{"affected":"3 open source packages ship an affected version, including flask-appbuilder. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-58065 in the wild and no public exploit code.","fix":"Upgrade flask-appbuilder to 4.8.1 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2025-58065 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2025-58065 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- flask-appbuilder (PyPI): affected all versions; fixed in 4.8.1\n- flask-appbuilder (PyPI): affected all versions; fixed in 4.8.1\n- flask-appbuilder (PyPI): affected all versions; fixed in 4.8.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-58065/ (Markdown: https://insights.sbomify.com/CVE-2025-58065/index.md)","id":"CVE-2025-58065","markdown":"https://insights.sbomify.com/CVE-2025-58065/index.md","name":"CVE-2025-58065","record":{"aliases":["CLEANSTART-2026-AR41102","CLEANSTART-2026-KG57806","ECHO-7b59-8764-d50d","GHSA-765j-9r45-w2q2","MINI-jr9h-4f79-7mc8","MINI-r857-42r5-r26j","PYSEC-2026-1378","ROOT-APP-PYPI-CVE-2025-58065"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["privilege_escalation","account_takeover"],"network_reachable":"yes","non_default_config":true,"product_category":"Flask application framework","requires_auth":"low_privilege","summary":"Attackers can reset passwords and create JWT tokens for disabled accounts when using non-database authentication methods in Flask-AppBuilder.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"flask-appbuilder","vendor":"dpgaspar"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Flask App Builder has an Authentication Bypass vulnerability when using non AUTH_DB methods","id":"CVE-2025-58065","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"auth_bypass","year":"2025"},"n_packages":3,"n_references":4,"next":{"headline":"DoS Vulnerability in ntpd-rs","id":"CVE-2025-58066"},"packages":[{"ecosystem":"PyPI","fixed":["4.8.1"],"introduced":["0"],"last_affected":[],"package":"flask-appbuilder","purl":null,"source":"GHSA-765j-9r45-w2q2"},{"ecosystem":"PyPI","fixed":["4.8.1"],"introduced":["0"],"last_affected":[],"package":"flask-appbuilder","purl":"pkg:pypi/flask-appbuilder","source":"GHSA-765j-9r45-w2q2"},{"ecosystem":"PyPI","fixed":["4.8.1"],"introduced":["0"],"last_affected":[],"package":"flask-appbuilder","purl":"pkg:pypi/flask-appbuilder","source":"PYSEC-2026-1378"}],"prev":{"headline":"CKEditor is susceptible to Cross-Site Scripting (XSS) through its clipboard package","id":"CVE-2025-58064"},"products":["Flask-AppBuilder"],"published":"2025-09-11","related":[{"cvss_score":9.1,"headline":"Flask-AppBuilder incorrect authentication when using auth type OpenID","id":"CVE-2024-25128","kev_date_added":null,"published":"2024-02-28"},{"cvss_score":8.1,"headline":"Improper Authentication in Flask-AppBuilder","id":"CVE-2021-41265","kev_date_added":null,"published":"2021-12-09"},{"cvss_score":7.5,"headline":"No Rate Limiting on Login AUTH DB","id":"CVE-2023-29005","kev_date_added":null,"published":"2023-04-10"},{"cvss_score":7.2,"headline":"URL Redirection to Untrusted Site ('Open Redirect') in Flask-AppBuilder","id":"CVE-2021-32805","kev_date_added":null,"published":"2021-09-08"},{"cvss_score":6.1,"headline":"Open Redirect in Flask-AppBuilder","id":"CVE-2022-24776","kev_date_added":null,"published":"2022-03-24"},{"cvss_score":5.3,"headline":"Observable Response Discrepancy in Flask-AppBuilder","id":"CVE-2022-21659","kev_date_added":null,"published":"2022-01-31"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-09-11","vendors":["dpgaspar"]},"summary":"Attackers can reset passwords and create JWT tokens for disabled accounts when using non-database authentication methods in Flask-AppBuilder.","url":"https://insights.sbomify.com/CVE-2025-58065/"}