[paths.ts] CWE-863 Authorization Bypass
GHSA-5572-x678-xmv8 · published 2026-11-12
- Severity
- Medium
- CVSS score
- 5.0
- Chance of exploitation (EPSS)
- No CVE
- Fixed in
- 2.15.0
1. Trust-Boundary Crossing: Untrusted input or unauthenticated IPC/RPC requests reach paths.ts (clients/mcpdo/src/daemon/paths.ts) directly at runtime. 2. Invariant Violation: Because the required authorization or canonicalization check is absent along the path through Refusing, owned, current, process, getuid, chmod, either, succeeds, an unprivileged caller can violate the intended isolation boundary (CWE-863 Authorization Bypass). 3. Deterministic Reproducibility: Inspection of clients/mcpdo/src/daemon/paths.ts confirms that no upstream guard or sanitizer dominates the sink at .
Upgrade @modelcontextprotocol/inspector to 2.15.0 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
Apply the following defensive guard in clients/mcpdo/src/daemon/paths.ts prior to executing the sink operation:
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| @modelcontextprotocol/inspector | npm | >= 2.10.0, <= 2.14.0 | 2.15.0 |
- CriticalLiteLLM has SQL Injection in Proxy API key verificationlitellmExploited
- Criticaln8n Vulnerable to Remote Code Execution via Expression Injectionn8nExploited
- HighLiteLLM has a sandbox escape in custom-code guardraillitellmExploited
- HighLangflow affected by Remote Code Execution via validate_code() exec()langflowExploited
- Criticalgit_add runs submodule filter commands when gitlink mode is not 160000mcp-server-git
- Criticalmcp-server-git: unexpandable sparse index lets submodule filter drivers runmcp-server-git
- CriticalMalicious MCP OAuth callback can switch transport to stdio and execute arbitrary local commands (RCE)@modelcontextprotocol/inspector, @modelcontextprotocol/inspector-client
- CriticalRemote MCP App can steal proxy auth token and execute arbitrary local commands (RCE)@modelcontextprotocol/inspector, @modelcontextprotocol/inspector-client, @modelcontextprotocol/inspector-server
- CriticalMCP Inspector proxy server lacks authentication between the Inspector client and proxy@modelcontextprotocol/inspector
- HighA remote MCP server can execute arbitrary code on the user's machine through the OAuth authorization URL (PowerShell subexpression injection@modelcontextprotocol/inspector
- HighIncomplete fix for CVE-2025-49596: DNS-rebinding info disclosure (API token + stored OAuth tokens) in MCP Inspector@modelcontextprotocol/inspector
- HighMissing Authentication for Critical Function in @modelcontextprotocol/inspector@modelcontextprotocol/inspector, @modelcontextprotocol/inspector-server
The impact, patch and workaround text comes from the advisory, shortened (published by the MCP Inspector project). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.