Windows-MCP
CVE-2026-48989
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Windows-MCP HTTP transport endpoint
-
DeliveryLure victim to attacker origin or reach bound port directly
-
ExploitBypass Same-Origin Policy via wildcard CORS or DNS rebinding
-
ExecutionInitialize unauthenticated MCP session at /mcp
-
PersistInvoke tools/call for PowerShell with encoded command
-
ImpactExecute arbitrary PowerShell as the Windows user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Windows-MCP must be launched with the sse or streamable-http transport (the default stdio transport is not affected) in a version below 0.7.5; no authentication, credentials, or user interaction on the target are required once the HTTP listener is reachable. Limiting factors: the listener is typically bound to localhost, so remote exploitation requires either (a) the operator binding to a routable interface, (b) a cross-origin browser request from a page the victim visits (enabled by the wildcard CORS), or (c) a DNS-rebinding attack against the loopback-bound server (no Host header validation pre-0.7.5). The PowerShell commands execute with the privileges of the Windows user running Windows-MCP, not necessarily Administrator. |
| Impact | The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N with VC/VI/VA all High and Exploit Maturity Proof-of-Concept aligns with the description: a network-reachable control plane reaches arbitrary command execution with no authentication and no user interaction, which is a top-priority profile. The vector caveat is real: the HTTP transports are commonly bound to localhost, so wholly external Internet exploitation depends on the operator binding to a routable interface or on cross-origin/DNS-rebinding paths the patch explicitly closes. EPSS and CISA KEV signals were not provided in the input, and no exploitation in the wild is confirmed; the E:P maturity indicates public PoC-class code but should not be conflated with mass exploitation. Net assessment: high real-world risk for any deployment using sse or streamable-http transports, lower for the default stdio mode which is unaffected. |
| Exploit ScenarioDerived | A victim runs Windows-MCP with the streamable-http or sse transport bound to localhost:8000 while browsing the web; an attacker-controlled page issues a fetch to http://localhost:8000/mcp, the wildcard CORS response lets the browser read the result, and the attacker initializes an MCP session and calls tools/call for PowerShell with an encoded command that downloads and runs a second-stage payload as the logged-in Windows user. Alternatively, a non-browser attacker who can reach the bound interface (or who wins a DNS-rebinding race against an unvalidated Host header) does the same directly with curl. Publicly available exploit code exists per the CVSS 4.0 E:P maturity flag. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 17, 2026
Unauthenticated remote PowerShell execution in CursorTouch Windows-MCP prior to version 0.7.5 allows attackers to reach the MCP control plane over HTTP and invoke the built-in PowerShell tool as the Windows user running the server. The flaw stems from SSE and streamable-http transports being built without an auth provider while wildcard CORS (allow_origins=*) is applied, opening the path to cross-origin browser pages and any non-browser HTTP client. No CISA KEV listing exists, but the CVSS 4.0 vector includes E:P, indicating publicly available exploit code exists.
RemediationAI
Vendor-released patch: 0.7.5 - upgrade via uvx windows-mcp@0.7.5 serve or pip install --upgrade windows-mcp as documented at https://github.com/CursorTouch/Windows-MCP/releases/tag/v0.7.5. If upgrade is not immediately possible, switch the deployment to the default stdio transport which is not affected, or bind the HTTP listener to 127.0.0.1 and place it behind an authenticating reverse proxy that also strips Access-Control-Allow-Origin: * and validates the Host header to block DNS rebinding (trade-off: breaks any legitimate cross-origin browser client). After upgrading, operators who genuinely need browser clients should opt in explicitly with --cors-origins (or WINDOWS_MCP_CORS_ORIGINS / cors_origins in ~/.windows-mcp/config.toml) listing only trusted origins, since 0.7.5 also adds automatic TrustedHostMiddleware based on the bind address.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Windows-MCP is a Python Model Context Protocol server (pip package windows-mcp, CPE cpe:2.3:a:cursortouch:windows-mcp) that bridges AI agents to a Windows host. The HTTP entrypoints in src/windows_mcp/__main__.py instantiate FastMCP without an authentication provider and wrap it in an OptionsMiddleware/CORSMiddleware that unconditionally emits Access-Control-Allow-Origin/Methods/Headers: *. The exposed PowerShell tool (src/windows_mcp/tools/shell.py, desktop/powershell.py) forwards caller-controlled strings to PowerShell -EncodedCommand, so the auth gap is directly weaponizable. CWE-306 (Missing Authentication for Critical Function) is the root class; the fail-open composition of no auth plus wildcard CORS plus no Host validation also enables DNS rebinding against localhost-bound instances.
Know when Windows Mcp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
HTTP control plane is network-reachable with wildcard CORS and no auth provider, and the PowerShell tool yields full C/I/A impact within the user's security context, so no scope change.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
Windows-MCP is an open-source project that integrates AI agents with Windows. In versions prior to 0.7.5, certain HTTP modes exposed the MCP control plane without authentication while enabling wildcard CORS (allow_origins=*, allow_methods=*, allow_headers=*). Because the same server also exposed a PowerShell tool that executes caller-controlled commands as the Windows user running Windows-MCP, attackers could reach the control plane from arbitrary origins or non-browser clients and achieve arbitrary PowerShell execution. This issue was fixed in version 0.7.5.
Executive ViewAI
Organizations using CursorTouch Windows-MCP face immediate risk from unauthenticated remote code execution that allows attackers to execute commands with full system privileges without credentials. The vulnerability affects HTTP-accessible instances running versions prior to 0.7.5 and represents a direct path to system compromise. With no vendor patch currently available, leadership must prioritize network isolation and access controls to prevent exploitation.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement network-level access controls restricting HTTP traffic to CursorTouch Windows-MCP from trusted networks only; (2) Deploy Web Application Firewall or reverse proxy enforcing authentication; (3) Modify server configuration to disable wildcard CORS (allow_origins=*) and restrict to specific trusted origins; (4) Implement detailed audit logging of all control plane requests and PowerShell command executions for incident detection; (5) Evaluate disabling the built-in PowerShell tool if business requirements permit; (6) Monitor for exploitation indicators including suspicious HTTP requests targeting control plane endpoints.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
GHSA-vrxg-gm77-7q5g
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB