Case · DiggingBeagle record

MCP Inspector connected to a malicious OAuth endpoint and executed PowerShell

The MCP Inspector advisory describes a remote server supplying an OAuth authorization URL that entered an unescaped PowerShell double-quoted argument on Windows or WSL, permitting subexpression execution before any model tool call.

Scope

Requires a malicious reachable remote MCP server plus the affected Windows or WSL launch path; not a cross-platform unconditional exploit or a confirmed victim campaign.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
demonstrated
Evidence
Grade B
Remediation
patch available
AI role
AGAINST AI
Basis and provenance

The project advisory identifies a PowerShell interpolation path reached from remote OAuth authorization metadata and a fix in 2.12.0. The triggering platform and browser launch path are prerequisites, not every MCP Inspector installation. Impact remains unrated because the evidence does not supply a calibrated scale for this Case.

Assessed Nov 1, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    Step

Claims & evidence

CLM-2026-NOV01-MCP-INSPECTOR-OAUTH-RCE-1The MCP Inspector advisory describes a remote server supplying an OAuth authorization URL that entered an unescaped PowerShell double-quoted argument on Windows or WSL, permitting subexpression execution before any model tool call.supported

Basis: reported finding

Link to claim

Implications

Assess the reported tool or model action separately from the side effect actually observed.

Controls and mitigations

  • Upgrade to Inspector 2.12.0, use process APIs that pass URL arguments literally, and prohibit PowerShell expression evaluation of remote metadata.

Unknowns and contradictions

  • Requires a malicious reachable remote MCP server plus the affected Windows or WSL launch path; not a cross-platform unconditional exploit or a confirmed victim campaign.

Sources and citation

Material revision history

  1. Nov 1, 2026 · Canonical change recorded · new in release · revision 211