Live › vulnerability › CVE-2024-25128
Go to dashboardFlask-AppBuilder's OpenID 2.0 login (AUTH_OID) lets a forged request make the backend authenticate against any OpenID service the attacker names, including one the attacker runs. That can grant unauthorised access to the application.
Summary written from the sources below. Check the originals before acting.
First seen by InfraStack 2026-10-27 16:35 UTC, 0h before NVD. All times on this page are UTC.
Only applications that use Flask-AppBuilder with AUTH_TYPE set to AUTH_OID, the deprecated OpenID 2.0 protocol, are exposed. Applications using OIDC, database, LDAP or OAuth login are not affected by this flaw, and those on the patched 4.3.11 release are safe.
| Product | Ecosystem | Affected | Fixed in |
|---|---|---|---|
| Flask-AppBuilder | pypi | < 4.3.11 | 4.3.11 |
| dpgaspar flask-appbuilder | vendor | < 4.3.11 | 4.3.11 |
pip show Flask-AppBuilder; versions below 4.3.11 are affected.AUTH_TYPE = AUTH_OID; the flaw only applies when OpenID 2.0 is the login method.4.3.11.AuthOIDView whose login rejects any OpenID provider URL not in openid_providers, wired in via FAB_SECURITY_MANAGER_CLASS.Each row is the first time that source carried this signal. The analyst’s rows are its own findings.
When Flask-AppBuilder is set to AUTH_TYPE AUTH_OID, allows an attacker to forge an HTTP request, that could deceive the backend into using any requested OpenID service. This vulnerability could grant an attacker unauthorised privilege access if a custom OpenID service is deployed by the attacker and accessible by the backend.
This vulnerability is only exploitable when the application is using the old (deprecated 10 years ago) OpenID 2.0 authorization protocol (which is very different from the popular OIDC - Open ID Connect - popular protocol used today). Currently, this protocol is regarded as legacy, with significantly reduced usage and not supported for several years by major authorization providers.
Upgrade to Flask-AppBuilder 4.3.11
If upgrade is not possible add the following to your config:
from flask import flash, redirect
from flask_appbuilder import expose
from flask_appbuilder.security.sqla.manager import SecurityManager
from flask_appbuilder.security.views import AuthOIDView
from flask_appbuilder.security.forms import LoginForm_oid
basedir = os.path.abspath(os.path.dirname(__file__))
class FixedOIDView(AuthOIDView):
@expose("/login/", methods=["GET", "POST"])
def login(self, flag=True):
form = LoginForm_oid()
if form.validate_on_submit():
identity_url = None
for provider in self.appbuilder.sm.openid_providers:
if provider.get("url") == form.openid.data:
identity_url = form.openid.data
if identity_url is None:
flash(self.invalid_login_message, "warning")
return redirect(self.appbuilder.get_url_for_login)
return super().login(flag=flag)
class FixedSecurityManager(SecurityManager):
authoidview = FixedOIDView
FAB_SECURITY_MANAGER_CLASS = "config.FixedSecurityManager"
This page as .md · .json · in your agent: get_signal("CVE-2024-25128")
GitHub Advisory Database, CC-BY 4.0 · NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.