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-2025-21548

CVE-2025-21548: MySQL Connector/Python Auth Bypass Flaw

CVE-2025-21548 is an authentication bypass vulnerability in Oracle MySQL Connector/Python 9.1.0 and earlier that enables unauthorized data access and DoS attacks. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-21548 Overview

CVE-2025-21548 is a resource exhaustion vulnerability affecting Oracle MySQL Connector/Python, a critical component used by Python applications to interface with MySQL databases. This vulnerability allows a high-privileged attacker with network access to compromise MySQL Connectors through multiple protocols, potentially resulting in unauthorized data manipulation, information disclosure, and denial of service conditions.

The vulnerability is classified under CWE-400 (Uncontrolled Resource Consumption), indicating that the affected component fails to properly limit resource utilization, which can be exploited to cause system degradation or complete service unavailability.

Critical Impact

Successful exploitation enables attackers to create, delete, or modify critical data, gain unauthorized read access to sensitive information, and cause complete denial of service through system hangs or crashes.

Affected Products

  • Oracle MySQL Connector/Python version 9.1.0 and prior

Discovery Timeline

  • 2025-01-21 - CVE-2025-21548 published to NVD
  • 2025-06-18 - Last updated in NVD database

Technical Details for CVE-2025-21548

Vulnerability Analysis

This vulnerability exists within the Connector/Python component of Oracle MySQL Connectors. The flaw represents a resource exhaustion condition that can be triggered remotely over the network. While exploitation requires high privileges, the attack complexity is low and can be executed through multiple network protocols.

The vulnerability requires human interaction from a person other than the attacker to succeed, which limits certain attack scenarios but does not eliminate the risk entirely. Once exploited, the attacker gains significant capabilities: the ability to create, delete, or modify critical data stored within MySQL Connectors, read access to a subset of accessible data, and the capacity to induce complete denial of service conditions.

The resource exhaustion nature of this vulnerability (CWE-400) suggests that the Connector/Python component does not adequately constrain resource consumption during certain operations, allowing malicious actors to overwhelm system resources and disrupt normal functionality.

Root Cause

The root cause is classified as CWE-400 (Uncontrolled Resource Consumption). The MySQL Connector/Python component fails to properly implement resource limits or throttling mechanisms, allowing an attacker to trigger excessive resource consumption. This can manifest as memory exhaustion, CPU overutilization, or connection pool depletion, ultimately leading to service degradation or complete unavailability.

Attack Vector

The attack is network-based and can leverage multiple protocols supported by MySQL Connector/Python. An attacker with high-level privileges and network access to the target system can craft malicious requests or operations that exploit the resource exhaustion condition. The requirement for human interaction suggests that social engineering or user-initiated actions may be necessary to complete the attack chain.

Potential attack scenarios include manipulating database connection parameters, sending specially crafted queries that trigger excessive resource allocation, or exploiting authentication and session handling mechanisms within the connector.

Detection Methods for CVE-2025-21548

Indicators of Compromise

  • Unusual spikes in memory consumption by Python applications using MySQL Connector/Python
  • Abnormal CPU utilization patterns associated with database connection operations
  • Unexpected connection pool exhaustion or connection timeout errors
  • Application crashes or hangs during MySQL database interactions
  • Unauthorized modifications to database records or schemas

Detection Strategies

  • Monitor resource utilization metrics for Python applications interfacing with MySQL databases
  • Implement logging and alerting for unusual database connection patterns and query behaviors
  • Review access logs for high-privileged accounts performing atypical operations
  • Deploy application performance monitoring to detect anomalous resource consumption

Monitoring Recommendations

  • Enable detailed logging for MySQL Connector/Python operations and connection lifecycle events
  • Configure resource usage thresholds and alerts for database-connected applications
  • Monitor for repeated connection failures or timeout conditions that may indicate exploitation attempts
  • Audit high-privileged account activities and correlate with application behavior anomalies

How to Mitigate CVE-2025-21548

Immediate Actions Required

  • Review and apply the Oracle Critical Patch Update from January 2025 immediately
  • Audit all systems running MySQL Connector/Python version 9.1.0 or earlier to identify vulnerable deployments
  • Implement network segmentation to restrict access to systems using MySQL Connector/Python
  • Review and minimize high-privileged account access to affected components
  • Enable enhanced monitoring for affected applications pending patch deployment

Patch Information

Oracle has addressed this vulnerability in the January 2025 Critical Patch Update. Organizations should upgrade MySQL Connector/Python to the latest patched version as recommended in the Oracle Critical Patch Update January 2025. The patch resolves the resource exhaustion condition and implements proper resource management controls.

Workarounds

  • Restrict network access to MySQL Connector/Python components using firewall rules and access control lists
  • Implement resource quotas and limits at the operating system or container level for applications using the affected connector
  • Reduce the number of high-privileged accounts with access to MySQL Connectors
  • Deploy application-level rate limiting to prevent resource exhaustion attacks
  • Consider using alternative database connectivity methods until patches can be applied
bash
# Example: Restrict network access to MySQL services
# Add firewall rules to limit access to trusted sources only
iptables -A INPUT -p tcp --dport 3306 -s trusted_network/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 3306 -j DROP

# Example: Implement resource limits for Python applications (systemd)
# Add to service unit file [Service] section:
# MemoryLimit=512M
# CPUQuota=50%

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechOracle Mysql Connector

  • SeverityMEDIUM

  • CVSS Score6.4

  • EPSS Probability0.11%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-400
  • Vendor Resources
  • Oracle Critical Patch Update January 2025
  • Related CVEs
  • CVE-2024-21090: MySQL Connector/Python DoS Vulnerability

  • CVE-2024-21170: Oracle MySQL Connector/Python SQLi Flaw

  • CVE-2020-2934: Oracle MySQL Connector/J DOS Vulnerability
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