The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-25128

CVE-2024-25128: Flask-AppBuilder Auth Bypass Vulnerability

CVE-2024-25128 is an authentication bypass flaw in Flask-AppBuilder that allows attackers to forge OpenID requests and gain unauthorized access. This article covers technical details, affected versions, and mitigation.

Published: April 8, 2026

CVE-2024-25128 Overview

CVE-2024-25128 is an authentication bypass vulnerability in Flask-AppBuilder, a popular application development framework built on top of Flask. When Flask-AppBuilder is configured to use AUTH_TYPE AUTH_OID (OpenID authentication), the application fails to properly validate the OpenID service provider, allowing attackers to forge HTTP requests that deceive the backend into using any requested OpenID service.

This vulnerability could grant an attacker unauthorized privilege access if a custom malicious OpenID service is deployed by the attacker and accessible by the backend. The vulnerability is specifically exploitable when the application uses the OpenID 2.0 authorization protocol.

Critical Impact

Attackers can forge OpenID authentication requests to gain unauthorized privileged access by deploying a malicious OpenID service that the vulnerable backend will trust.

Affected Products

  • dpgaspar Flask-AppBuilder (versions prior to 4.3.11)

Discovery Timeline

  • 2024-02-29 - CVE-2024-25128 published to NVD
  • 2025-10-14 - Last updated in NVD database

Technical Details for CVE-2024-25128

Vulnerability Analysis

This vulnerability falls under CWE-287 (Improper Authentication), indicating a fundamental flaw in the authentication mechanism. The core issue lies in the lack of validation when processing OpenID provider URLs during the authentication flow. When an application is configured with AUTH_TYPE AUTH_OID, the backend accepts and processes OpenID authentication requests without adequately verifying the legitimacy of the OpenID service provider.

The attack is network-accessible and requires no prior authentication or user interaction, making it particularly dangerous for internet-facing applications. However, the vulnerability only affects the confidentiality and integrity of the system without direct impact on availability.

Root Cause

The root cause stems from insufficient validation of the OpenID service URL during the authentication process. Flask-AppBuilder's OpenID integration accepts provider URLs from client-controlled input without verifying they belong to a trusted list of OpenID providers. This trust assumption allows attackers to redirect authentication flows to malicious OpenID services under their control.

The vulnerable code path processes the OpenID discovery and authentication without implementing proper provider allowlisting or URL validation, enabling the backend to communicate with arbitrary OpenID endpoints specified by the attacker.

Attack Vector

The attack vector is network-based and follows this general exploitation pattern:

  1. The attacker identifies a Flask-AppBuilder application using AUTH_OID authentication
  2. The attacker sets up a malicious OpenID service that they control
  3. The attacker crafts a forged HTTP request directing the backend to authenticate against their malicious OpenID service
  4. The backend, lacking proper validation, communicates with the attacker's OpenID service
  5. The malicious OpenID service responds with fabricated authentication assertions
  6. The backend trusts these assertions, granting the attacker unauthorized access with potentially elevated privileges

The vulnerability requires the malicious OpenID service to be network-accessible from the target backend server. Successful exploitation allows attackers to bypass authentication entirely and potentially impersonate any user, including administrators.

Detection Methods for CVE-2024-25128

Indicators of Compromise

  • Unexpected outbound connections from the Flask-AppBuilder backend to unknown OpenID service endpoints
  • Authentication logs showing successful logins via unusual or unrecognized OpenID providers
  • Network traffic to newly registered domains or suspicious IP addresses during OpenID discovery phases
  • Anomalous user account access patterns, especially privileged accounts being accessed from unusual sources

Detection Strategies

  • Monitor outbound network connections from application servers for connections to unauthorized OpenID endpoints
  • Implement application-layer logging to capture all OpenID provider URLs processed during authentication
  • Deploy network segmentation rules to restrict which external services the backend can communicate with
  • Review authentication logs for logins using OpenID providers not on the organization's approved list

Monitoring Recommendations

  • Configure SIEM rules to alert on authentication events involving unknown OpenID providers
  • Implement egress filtering and monitor for connections to new or suspicious domains during authentication flows
  • Enable detailed logging for all OpenID-related authentication attempts including provider URLs
  • Establish baseline behavior for normal OpenID authentication patterns and alert on deviations

How to Mitigate CVE-2024-25128

Immediate Actions Required

  • Upgrade Flask-AppBuilder to version 4.3.11 or later immediately
  • If upgrading is not immediately possible, consider temporarily switching to a different authentication method (such as database authentication or OAuth)
  • Audit all existing user accounts for any signs of unauthorized access or privilege escalation
  • Review network logs for any suspicious outbound connections to unknown OpenID services

Patch Information

The vulnerability has been addressed in Flask-AppBuilder version 4.3.11. The fix is available in commit 6336456d83f8f111c842b2b53d1e89627f2502c8. Organizations should upgrade using their standard Python package management process.

For detailed information about the vulnerability and the fix, refer to the GitHub Security Advisory GHSA-j2pw-vp55-fqqj and the patch commit.

Workarounds

  • If using OpenID 2.0 authentication, consider migrating to OAuth 2.0 or OIDC (OpenID Connect) which provides stronger security guarantees
  • Implement network-level restrictions to limit which external services the backend can communicate with for OpenID discovery
  • Deploy a Web Application Firewall (WAF) to inspect and filter authentication-related requests
  • Configure strict egress firewall rules to only allow connections to known, trusted OpenID providers
bash
# Upgrade Flask-AppBuilder to the patched version
pip install --upgrade Flask-AppBuilder>=4.3.11

# Verify the installed version
pip show Flask-AppBuilder | grep Version

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechFlask Appbuilder

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.96%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-287

  • NVD-CWE-noinfo
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-j2pw-vp55-fqqj
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English