highresolved

MCP Inspector OAuth URL permits PowerShell command injection

An attacker-controlled remote server can supply an OAuth authorization URL that reaches a PowerShell command string. On Windows or WSL, shell interpolation can turn that URL into local command execution.

An attacker-controlled remote server can supply an OAuth authorization URL that reaches a PowerShell command string. On Windows or WSL, shell interpolation can turn that URL into local command execution.

This is a maintainer-documented vulnerability disclosure. The advisory lists affected ranges: @modelcontextprotocol/inspector >= 2.0.0, <= 2.11.0. Patched release lines: @modelcontextprotocol/inspector 2.12.0. Consult the specific advisory for configuration requirements and branch coverage.

Takeaway

Use a patched release on a supported branch and verify the relevant browser, process or session boundary. Keep untrusted MCP endpoints and imported configurations outside privileged runtime contexts.

Sources

mcpinspectorghsa-q978-78c7-phqw