High, CVSS 8.9PyPIAmendedPublished
Windows-MCP: HTTP transports expose unauthenticated PowerShell control with wildcard CORS
CVE-2026-48989 · GHSA-vrxg-gm77-7q5g
- Affected
- PyPI windows-mcp < 0.7.5
- Fixed in
- 0.7.5· Vendor fix available
- Issue
- HTTP transports expose unauthenticated PowerShell control with wildcard CORS There is an issue in the SSE and Streamable HTTP transport modes. The default stdio mode is not affected, but the documented HTTP modes expose the MCP control plane without authentication and add wildcard CORS handling around it. The same server exposes the PowerShell tool, which executes caller-controlled commands as the Windows user running Windows-MCP. Relevant source: - src/windowsmcp/main.py:37-42: httpmiddleware() installs OptionsMiddleware and CORSMiddleware with alloworigins=[""], allowmethods=[""], and allowheaders=[""]. - src/windowsmcp/main.py:45-72: OptionsMiddleware responds to every OPTIONS request with wildcard Access-Control-Allow-Origin, Access-Control-Allow-Methods, and Access-Control-Allow-Headers. - src/windowsmcp/main.py:75-113: buildmcp() constructs FastMCP(name="windows-mcp", ...) without an auth provider. - src/windowsmcp/main.py:139-151: both sse and streamable-http call mcp.run(...)…
Recommended action: Upgrade to 0.7.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.