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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-58444

CVE-2025-58444: MCP Inspector XSS to RCE Vulnerability

CVE-2025-58444 is a cross-site scripting vulnerability in MCP Inspector that escalates to remote code execution via malicious redirect URIs. This article covers technical details, affected versions, security impact, and mitigation.

Published: May 11, 2026

CVE-2025-58444 Overview

CVE-2025-58444 is a cross-site scripting (XSS) vulnerability in the Model Context Protocol (MCP) Inspector, a developer tool used to test and debug MCP servers. The flaw exists in versions prior to 0.16.6 and is triggered when the inspector connects to an untrusted remote MCP server that supplies a malicious OAuth redirect URI. An attacker can leverage the XSS condition to interact directly with the inspector proxy, leading to arbitrary command execution on the developer's host. The issue is classified under [CWE-84: Improper Neutralization of Encoded URI in a Web Page]. Maintainers released version 0.16.6 to address the issue.

Critical Impact

A malicious remote MCP server can deliver a crafted redirect URI that executes arbitrary commands on a developer machine running the MCP Inspector.

Affected Products

  • Model Context Protocol Inspector versions prior to 0.16.6
  • Local development environments that connect MCP Inspector to untrusted remote MCP servers
  • Downstream tooling that bundles the vulnerable @modelcontextprotocol/inspector package

Discovery Timeline

  • 2025-09-08 - CVE-2025-58444 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-58444

Vulnerability Analysis

The MCP Inspector ships a browser-based client that orchestrates an OAuth authorization flow against a remote MCP server. The pre-patch client renders OAuth-supplied values, including the redirect_uri, without validating that the URL conforms to an expected scheme or origin. A remote MCP server controlled by an attacker can return a redirect URI containing a javascript: payload or other active-content scheme. When the inspector renders this value, the script executes in the context of the inspector UI.

Because the inspector UI is the privileged front end for the local inspector proxy, script execution in that origin grants the attacker an authenticated channel to the proxy. The proxy exposes endpoints capable of spawning local processes against MCP servers, so the XSS condition escalates into arbitrary command execution on the developer's workstation.

Root Cause

The root cause is missing input validation on OAuth redirect URLs before they are reflected in the client. The patch introduces a dedicated validateRedirectUrl helper imported from @/utils/urlValidation and applies it in both AuthDebugger.tsx and OAuthFlowProgress.tsx. The helper enforces that redirect URLs use safe schemes, preventing javascript: and similar active-content URIs from reaching the DOM.

Attack Vector

Exploitation requires the developer to initiate an MCP Inspector session against an attacker-controlled remote MCP server. User interaction is required to start the connection, after which the malicious server returns OAuth metadata containing the crafted redirect URI. The inspector renders the URI, the embedded script executes, and the attacker pivots from the inspector UI to the local proxy to run commands.

text
// Patch excerpt: client/src/components/AuthDebugger.tsx
 import { OAuthFlowProgress } from "./OAuthFlowProgress";
 import { OAuthStateMachine } from "../lib/oauth-state-machine";
 import { SESSION_KEYS } from "../lib/constants";
+import { validateRedirectUrl } from "@/utils/urlValidation";

 export interface AuthDebuggerProps {
   serverUrl: string;

// Patch excerpt: client/src/components/OAuthFlowProgress.tsx
 import { DebugInspectorOAuthClientProvider } from "@/lib/auth";
 import { useEffect, useMemo, useState } from "react";
 import { OAuthClientInformation } from "@modelcontextprotocol/sdk/shared/auth.js";
+import { validateRedirectUrl } from "@/utils/urls/Validation";
+import { useToast } from "@/lib/hooks/useToast";

Source: GitHub Commit 650f3090

Detection Methods for CVE-2025-58444

Indicators of Compromise

  • OAuth redirect_uri values containing non-HTTP schemes such as javascript:, data:, or vbscript: returned by an MCP server
  • Outbound connections from developer workstations to unknown or newly registered MCP server endpoints
  • Unexpected child processes spawned by the MCP Inspector proxy (Node.js parent) shortly after an OAuth flow

Detection Strategies

  • Inspect package manifests and lockfiles for @modelcontextprotocol/inspector versions earlier than 0.16.6
  • Monitor browser-side console logs and proxy access logs for requests originating from the inspector UI immediately after OAuth callbacks
  • Hunt for process trees where the inspector proxy spawns shells, package managers, or scripting interpreters that fall outside normal debugging activity

Monitoring Recommendations

  • Log and alert on developer endpoints that connect MCP Inspector to remote MCP servers outside an approved allowlist
  • Capture HTTP traffic from the inspector to local proxy endpoints and review for anomalous command parameters
  • Track installations and upgrades of the inspector package across developer fleets to verify patched versions are deployed

How to Mitigate CVE-2025-58444

Immediate Actions Required

  • Upgrade @modelcontextprotocol/inspector to version 0.16.6 or later on every developer workstation
  • Restrict the inspector to local or trusted MCP servers until the upgrade is verified
  • Audit any prior inspector sessions that connected to untrusted remote MCP servers for signs of command execution

Patch Information

The fix is delivered in MCP Inspector 0.16.6 via commit 650f3090d26344a672026b737d81586595bb1f60. The patch adds a validateRedirectUrl utility and applies it to the OAuth flow components so that malicious schemes in redirect URIs are rejected before rendering. Full advisory details are available in GitHub Security Advisory GHSA-g9hg-qhmf-q45m.

Workarounds

  • Only connect the MCP Inspector to MCP servers that are local or fully trusted
  • Run the inspector inside an isolated virtual machine or container so any command execution is contained
  • Block egress from developer workstations to unapproved MCP endpoints at the network layer
bash
# Upgrade the MCP Inspector to the patched release
npm install -g @modelcontextprotocol/inspector@0.16.6

# Verify the installed version
npx @modelcontextprotocol/inspector --version

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMcp Inspector

  • SeverityHIGH

  • CVSS Score8.6

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/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
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-84
  • Technical References
  • GitHub Commit Log Update

  • GitHub Security Advisory GHSA-g9hg-qhmf-q45m
  • Related CVEs
  • CVE-2025-49596: MCP Inspector RCE 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