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

CVE-2025-11202: win-cli-mcp-server RCE Vulnerability

CVE-2025-11202 is a command injection RCE flaw in win-cli-mcp-server's resolveCommandPath method that enables remote attackers to execute arbitrary code without authentication. This article covers technical details, impact, and mitigation.

Published: April 1, 2026

CVE-2025-11202 Overview

CVE-2025-11202 is a command injection vulnerability in win-cli-mcp-server that allows remote attackers to execute arbitrary code on affected installations. The vulnerability exists in the resolveCommandPath method, which fails to properly validate user-supplied strings before using them in system calls. Authentication is not required to exploit this vulnerability, making it particularly dangerous for exposed deployments.

This flaw enables attackers to inject malicious commands that execute with the privileges of the service account running win-cli-mcp-server. The vulnerability was tracked by the Zero Day Initiative as ZDI-CAN-27787 and assigned advisory ZDI-25-930.

Critical Impact

Unauthenticated remote code execution allowing complete system compromise with service account privileges via command injection in the resolveCommandPath method.

Affected Products

  • win-cli-mcp-server (versions prior to commit 521b4a34190d03bde7d433d213c36357181a6d09)

Discovery Timeline

  • October 29, 2025 - CVE-2025-11202 published to NVD
  • October 30, 2025 - Last updated in NVD database

Technical Details for CVE-2025-11202

Vulnerability Analysis

The vulnerability resides in the resolveCommandPath function within the src/utils/validation.ts file of win-cli-mcp-server. This function was designed to locate executable paths using the Windows where command, but it failed to sanitize user input before incorporating it into the shell command execution.

The function used Node.js execAsync to run shell commands, constructing the command string by directly interpolating the user-supplied command parameter into a template string passed to where. This pattern is a classic example of CWE-78 (Improper Neutralization of Special Elements used in an OS Command), allowing attackers to break out of the intended command context and execute arbitrary commands on the underlying system.

Since the vulnerability can be exploited without authentication over the network, attackers can achieve full remote code execution on vulnerable win-cli-mcp-server deployments.

Root Cause

The root cause is insufficient input validation in the resolveCommandPath function. User-supplied command names were passed directly to execAsync without any sanitization or escaping, allowing shell metacharacter injection. The vulnerable code constructed the command as:

typescript
await execAsync(`where "${command}"`, { encoding: 'utf8' });

An attacker could inject shell metacharacters (such as ", &, |, or ;) to escape the quoted string and append additional commands for execution.

Attack Vector

The attack vector is network-based with low complexity. An attacker can craft a malicious request containing shell metacharacters in the command parameter. When the resolveCommandPath function processes this input, the injected commands execute with the privileges of the service account. No authentication, user interaction, or special privileges are required for exploitation.

The following code shows the vulnerable resolveCommandPath function that was removed in the security patch:

typescript
export async function resolveCommandPath(command: string): Promise<string | null> {
    try {
        const { stdout } = await execAsync(`where "${command}"`, { encoding: 'utf8' });
        return stdout.split('\n')[0].trim();
    } catch {
        return null;
    }
}

Source: GitHub Commit

Detection Methods for CVE-2025-11202

Indicators of Compromise

  • Unusual process spawning from the win-cli-mcp-server service account
  • Windows where.exe executions with suspicious command line arguments containing shell metacharacters
  • Unexpected child processes of the Node.js process running win-cli-mcp-server
  • Network connections or file system modifications by the service that deviate from normal operation

Detection Strategies

  • Monitor for where.exe process creation with command lines containing characters like &, |, ;, or backticks
  • Implement network intrusion detection rules to identify malicious payloads targeting the win-cli-mcp-server API
  • Deploy endpoint detection to alert on command injection patterns in process creation events
  • Review application logs for unusual or malformed command resolution requests

Monitoring Recommendations

  • Enable verbose logging for win-cli-mcp-server and forward logs to a SIEM for analysis
  • Configure process creation auditing on Windows systems running the vulnerable server
  • Monitor network traffic to/from win-cli-mcp-server for anomalous patterns
  • Implement behavioral analysis to detect deviations from baseline service activity

How to Mitigate CVE-2025-11202

Immediate Actions Required

  • Update win-cli-mcp-server to the latest version containing commit 521b4a34190d03bde7d433d213c36357181a6d09
  • Restrict network access to win-cli-mcp-server to trusted sources only
  • Run the service with minimum required privileges to limit impact of potential compromise
  • Review logs for any evidence of exploitation prior to patching

Patch Information

The vulnerability was addressed by completely removing the vulnerable resolveCommandPath function from the codebase. The security patch is available in commit 521b4a34. Organizations should update to the latest version of win-cli-mcp-server that includes this fix. Additional details are available in the ZDI-25-930 advisory.

Workarounds

  • Implement network-level access controls to limit exposure of win-cli-mcp-server to untrusted networks
  • Deploy a web application firewall (WAF) with rules to block command injection patterns
  • Consider disabling or removing the service until patching is possible for high-risk environments
  • Use network segmentation to isolate systems running the vulnerable software
bash
# Example: Restrict network access using Windows Firewall
netsh advfirewall firewall add rule name="Block MCP Server External" dir=in action=block program="C:\path\to\win-cli-mcp-server.exe" remoteip=any
netsh advfirewall firewall add rule name="Allow MCP Server Trusted" dir=in action=allow program="C:\path\to\win-cli-mcp-server.exe" remoteip=192.168.1.0/24

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechWin Cli Mcp Server

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.78%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • GitHub Commit Change

  • Zero-Day Initiative Advisory ZDI-25-930
  • Latest CVEs
  • CVE-2026-40322: SiYuan Knowledge Management RCE Vulnerability

  • CVE-2026-40318: SiYuan Path Traversal Vulnerability

  • CVE-2026-40259: SiYuan Auth Bypass Vulnerability

  • CVE-2026-40255: AdonisJS HTTP Server CSRF 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