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-53365

CVE-2025-53365: MCP Python SDK DoS Vulnerability

CVE-2025-53365 is a denial of service flaw in the MCP Python SDK that allows attackers to crash the server via uncaught exceptions. This article covers technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2025-53365 Overview

A denial of service vulnerability exists in the MCP Python SDK (mcp package on PyPI), which is a Python implementation of the Model Context Protocol (MCP). Prior to version 1.10.0, if a client deliberately triggers an exception after establishing a streamable HTTP session, this can lead to an uncaught ClosedResourceError on the server side, causing the server to crash and requiring a restart to restore service.

Critical Impact

This vulnerability allows unauthenticated remote attackers to crash MCP Python SDK servers by exploiting improper exception handling, resulting in service disruption that requires manual intervention to restore.

Affected Products

  • MCP Python SDK (mcp on PyPI) versions prior to 1.10.0

Discovery Timeline

  • 2025-07-04 - CVE CVE-2025-53365 published to NVD
  • 2025-07-08 - Last updated in NVD database

Technical Details for CVE-2025-53365

Vulnerability Analysis

This vulnerability is classified as CWE-248 (Uncaught Exception), which occurs when an exception is not properly caught or handled by the application. In the context of the MCP Python SDK, when a client establishes a streamable HTTP session and then deliberately triggers an exception (such as by abruptly closing the connection or sending malformed data), the server-side code fails to properly handle the resulting ClosedResourceError exception.

The impact of this vulnerability depends on deployment conditions and the presence of infrastructure-level resilience measures such as process supervisors, container orchestration restart policies, or load balancer health checks. In environments without such protections, successful exploitation results in complete service unavailability until manual restart.

Root Cause

The root cause lies in insufficient exception handling within the streamable HTTP session management code. When a client connection is terminated unexpectedly or an exception is deliberately triggered, the ClosedResourceError exception propagates uncaught through the call stack, resulting in an unhandled exception that terminates the server process. This represents a failure to implement defensive programming practices around resource lifecycle management.

Attack Vector

The attack can be executed remotely over the network without requiring authentication or user interaction. An attacker needs only to:

  1. Establish a streamable HTTP session with the vulnerable MCP Python SDK server
  2. Deliberately trigger a connection closure or exception condition
  3. The server fails to catch the resulting ClosedResourceError, causing a crash

The attack is straightforward to execute and can be repeated to maintain a persistent denial of service condition. The vulnerability affects the availability of the service but does not impact confidentiality or integrity of data.

Detection Methods for CVE-2025-53365

Indicators of Compromise

  • Unexpected server process terminations in MCP Python SDK deployments
  • ClosedResourceError exceptions appearing in server logs immediately before crashes
  • Repeated HTTP session establishments from the same source IP followed by abrupt disconnections
  • Service unavailability patterns correlating with specific client connection events

Detection Strategies

  • Monitor application logs for uncaught ClosedResourceError exceptions in MCP SDK components
  • Implement anomaly detection for unusual patterns of HTTP session establishment and termination
  • Track server process uptime metrics and alert on unexpected restarts
  • Deploy network-level monitoring for connection patterns indicative of deliberate exception triggering

Monitoring Recommendations

  • Configure centralized logging to capture Python exception tracebacks from MCP SDK servers
  • Set up process monitoring with alerts for unexpected terminations of MCP SDK server processes
  • Implement connection rate limiting and monitoring at the network or application layer
  • Enable infrastructure-level health checks to detect and respond to service unavailability

How to Mitigate CVE-2025-53365

Immediate Actions Required

  • Upgrade the MCP Python SDK to version 1.10.0 or later immediately
  • Review deployment configurations to ensure process supervisors or container restart policies are in place
  • Implement rate limiting on incoming connections to reduce the impact of repeated exploitation attempts
  • Consider deploying behind a reverse proxy with connection management capabilities

Patch Information

The vulnerability has been patched in MCP Python SDK version 1.10.0. The fix addresses the uncaught exception handling by properly catching and handling ClosedResourceError exceptions that occur during streamable HTTP session management.

For technical details on the patch, refer to the following resources:

  • GitHub Security Advisory
  • GitHub Pull Request #967
  • GitHub Commit

Workarounds

  • Deploy MCP SDK servers behind process supervisors (e.g., systemd, supervisord) configured to automatically restart on failure
  • Use container orchestration platforms with restart policies to minimize downtime from crashes
  • Implement network-level protections such as connection rate limiting and timeout enforcement
  • Consider deploying multiple server instances behind a load balancer to maintain availability during individual instance failures
bash
# Example: Upgrade MCP Python SDK to patched version
pip install --upgrade mcp>=1.10.0

# Verify installed version
pip show mcp | grep Version

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechMcp

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-248
  • Technical References
  • GitHub Commit Log

  • GitHub Pull Request

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-27735: MCP Server Git Path Traversal Flaw

  • CVE-2026-25905: mcp-run-python RCE 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