KEVWire

Security intelligence, with context.

Response snapshot Oct 27, 2026, 17:56 UTC

Back to the wire
Permalink
VulnerabilityCVE-2024-25128

Flask-AppBuilder vulnerable to incorrect authentication when using auth type OpenID

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.

At a glance

Exploited
Not known
Severity
9.1 Critical (CVSS 3.1)
Chance of exploitation
Not estimated
Sources
1 source

What to do

GitHub lists first patched versions: Flask-AppBuilder: 4.3.11. Confirm the affected range and upgrade guidance in the exact advisory.

Read GitHub-reviewed advisory GHSA-j2pw-vp55-fqqj (opens a new tab)

What happened

Impact

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.

Patches

Continue reading

Upgrade to Flask-AppBuilder 4.3.11

Workarounds

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"

Affected package ranges reported by GitHub: Flask-AppBuilder: < 4.3.11

Scores and how they were measured

CVSS base severity

9.1

Version 3.1As of

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Measurement source (opens a new tab)

How bad it is if exploited. Not a prediction of exploitation or proof you are exposed.

EPSS probability

Not available

A model's estimate of exploitation in the next 30 days, not certainty or your own risk.

Related technology

Sources

  1. Primary source

    GitHub-reviewed advisory GHSA-j2pw-vp55-fqqj (opens a new tab)

    The public advisory supplies the description, affected package/version ranges, and any listed CVSS metric. GitHub review is not local review.

    Published Checked

  2. Primary source

    GitHub public advisory API page (opens a new tab)

    The API page supplied GHSA-j2pw-vp55-fqqj, its actual identifiers, source dates, and structured metrics.

    Published Date not suppliedChecked

Cite this record

For factual claims, cite the primary sources above; cite KEVWire for its compilation, dates, and classifications.

APA

KEVWire. (2026, October 27). Flask-AppBuilder vulnerable to incorrect authentication when using auth type OpenID (CVE-2024-25128). https://kevwire.com/record/CVE-2024-25128

MLA

"Flask-AppBuilder vulnerable to incorrect authentication when using auth type OpenID (CVE-2024-25128)." KEVWire, 27 Oct. 2026, kevwire.com/record/CVE-2024-25128.

Chicago

KEVWire. "Flask-AppBuilder vulnerable to incorrect authentication when using auth type OpenID (CVE-2024-25128)." Last modified October 27, 2026. https://kevwire.com/record/CVE-2024-25128.

Evidence summary (plain text)

Flask-AppBuilder vulnerable to incorrect authentication when using auth type OpenID (Feb 28, 2024).
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).
CVSS 9.1 (version 3.1; evidence as of Oct 27, 2026; https://github.com/advisories/GHSA-j2pw-vp55-fqqj).
Sources:
GitHub-reviewed advisory GHSA-j2pw-vp55-fqqj: https://github.com/advisories/GHSA-j2pw-vp55-fqqj
GitHub public advisory API page: https://api.github.com/advisories?type=reviewed&per_page=100&sort=updated&direction=desc
Record ID: CVE-2024-25128.
Record origin: Ingested record.
AI evidence: Not assessed.
Known exploitation: Not assessed.
Zero-day status: Not assessed. KEV membership alone does not establish zero-day status.
About this data

This record was ingested from a data source. Retrieved: Oct 27, 2026, 17:55 UTC. Ingestion is not an independent editorial investigation.

A CISA KEV listing documents known exploitation, not necessarily a zero-day; absence from the catalog does not prove a vulnerability has never been exploited.

Technology tags indicate possible relevance, not verified exposure. Confirm the affected product, version, and configuration against your own inventory; KEVWire does not scan your systems.

A personal reading checklist on this device, not verified remediation.

Record JSON

Your account

Email alerts

Email alerts are not available yet. To follow your stack today, use its RSS feed, which honors your filters, or connect an AI agent through the API.

Suggest an improvement

Ideas, missing sources, corrections, and bugs are all welcome. No account needed. Suggestions are reviewed by a person before anything changes.

Record details

Record detail