This release includes 1 security fix for security teams reviewing exposed deployments.
Topics
Affected surfaces
ReleasePort's take
Light signalVersion v0.7.5 of Windows MCP removes unconditional wildcard CORS headers and adds DNS rebinding protection via Host header validation.
Why it matters: Patch to v0.7.5 immediately to eliminate unauthenticated cross-origin MCP sessions and prevent DNS rebinding attacks.
Summary
AI summaryFixed GHSA-vrxg-gm77-7q5g by removing unconditional CORS headers and adding Host header validation.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Security | High |
Removes unconditional wildcard CORS headers from HTTP transports. Removes unconditional wildcard CORS headers from HTTP transports. Source: granite4.1:30b@2026-05-22-audit Confidence: low |
— |
| Security | Medium |
Removes unconditional wildcard CORS headers to prevent unauthenticated cross-origin MCP sessions. Removes unconditional wildcard CORS headers to prevent unauthenticated cross-origin MCP sessions. Source: llm_adapter@2026-05-21 Confidence: low |
— |
| Security | Medium |
Introduces opt-in CORS origins via `--cors-origins` flag, env var, or config for trusted browser clients. Introduces opt-in CORS origins via `--cors-origins` flag, env var, or config for trusted browser clients. Source: llm_adapter@2026-05-21 Confidence: low |
— |
| Security | Medium |
Adds DNS rebinding protection by validating Host header against bind address. Adds DNS rebinding protection by validating Host header against bind address. Source: llm_adapter@2026-05-21 Confidence: low |
— |
Full changelog
Security fix
This release addresses GHSA-vrxg-gm77-7q5g reported by @dodge1218.
What was wrong
HTTP transports (sse, streamable-http) emitted Access-Control-Allow-Origin: * unconditionally, allowing any cross-origin browser page to open an unauthenticated MCP session and invoke the PowerShell tool. There was also no Host header validation, leaving localhost-bound servers open to DNS rebinding attacks.
What changed
- No wildcard CORS by default.
OptionsMiddlewareandCORSMiddlewareno longer emitAccess-Control-Allow-Origin: *. Without an explicit origin list, no CORS headers are sent — browsers block cross-origin requests via Same-Origin Policy. --cors-originsopt-in. Operators who need a browser-based MCP client can pass a comma-separated list of trusted origins (--cors-origins https://my-client.example.com). Only those origins receive CORS headers. Also available asWINDOWS_MCP_CORS_ORIGINSenv var andcors_originsin~/.windows-mcp/config.toml.- DNS rebinding protection.
TrustedHostMiddlewareis now applied automatically based on the bind address (loopback →localhost/127.0.0.1/[::1]; specific host → that host). Requests whoseHostheader doesn't match are rejected before reaching the MCP control plane.
Upgrade
uvx [email protected] serve
# or
pip install --upgrade windows-mcp
No configuration changes are required for the default stdio transport or for existing HTTP deployments that don't rely on cross-origin browser access.
Security Fixes
- GHSA-vrxg-gm77-7q5g — removed unconditional Access-Control-Allow-Origin: * and added Host header validation to prevent unauthenticated cross‑origin sessions and DNS rebinding attacks.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About Windows MCP
All releases →Related context
Beta — feedback welcome: [email protected]