MCP Horror Stories: The Drive-By Localhost Breach
CVE-2025-49596 (CVSS 9.4) let any website achieve remote code execution on developer machines running MCP Inspector below 0.14.1. The Inspector's Node.js proxy listened on 0.0.0.0:6277 with no authentication and accepted requests from any origin. Malicious JavaScript could send no-cors GET requests to its /sse endpoint with transportType=stdio and arbitrary command arguments, and because browsers treat 0.0.0.0 like localhost (the "0.0.0.0-day" flaw), those requests could spawn processes that read SSH keys, dump environment variables or clone private repos. The fix is upgrading to 0.14.1+, and Docker pitches running its MCP Gateway with stdio transport so no HTTP endpoint is exposed to browsers at all.
Related posts
- MCP Horror Stories: The Supply Chain Attack
Docker mediumAdeptCVE-2025-6514 (CVSS 9.6) in mcp-remote, an OAuth proxy downloaded over 437,000 times, let a malicious MCP server achieve remote code execution on developer machines. mcp-remote passed the server-supplied authorization_endpoint unvalidated to the npm 'open' package. On Windows that runs PowerShell, and an 'a:' scheme prefix keeps a $() subexpression from being URL-encoded, so the embedded command executes. Docker pitches its MCP Toolkit as the fix: native OAuth handling in place of the proxy, plus containerized servers with signature verification, network allowlisting, secret blocking and resource limits. It concedes that containerization alone would not have stopped this host-side bug.
- MCP Horror Stories: The Security Issues Threatening AI Infrastructure
Docker mediumAdeptMCP servers expose AI agents to six recurring vulnerability classes: OAuth discovery flaws (e.g. CVE-2025-6514 in mcp-remote), command injection (reported in 43% of analyzed servers), unrestricted network fetches (33%), file path leakage (22%), tool poisoning (5.5%) and plaintext secret exposure. Each class comes with checks to apply before installing a server, such as avoiding servers that build shell commands from input or take credentials as environment variables. Docker's MCP Gateway is presented as the mitigation, running each server in a container with no-new-privileges, CPU and memory limits, signature verification, L7 network allowlisting via --block-network, secret scanning via --block-secrets and call logging.
- Introducing the Safari MCP server for web developers
WebKit mediumAdeptSafari 27 and Safari Technology Preview 247 ship a Model Context Protocol server, exposed via safaridriver --mcp, that lets any MCP-compatible coding agent drive a local Safari window. Its 17 tools cover tabs, navigation, DOM interactions, JavaScript evaluation, console logs, network request details, screenshots, viewport sizing and media emulation. Agents can use these to debug rendering, cross-browser compatibility, performance and accessibility issues without the developer relaying screenshots and descriptions. Setup requires enabling developer features and remote automation in Safari settings, then registering the server with Claude, Codex or an mcp.json entry. The server runs locally, makes no network calls of its own, and has no access to AutoFill or browsing history.
- MCP Horror Stories: The GitHub Prompt Injection Data Heist
Docker mediumAdeptA prompt injection planted in a public GitHub issue can hijack an AI agent using the official GitHub MCP server. When a developer asks it to "check the open issues," the agent uses a broad personal access token to read private repositories and leak salary and project data into a public pull request, as Invariant Labs demonstrated in May 2025. Docker's mitigation runs tools through the Docker MCP Gateway with interceptors, which are exec, container or HTTP hooks that inspect each tool call before and after it runs. A cross-repo-blocker script locks each session to the first repository accessed and blocks calls to any other repository. A Docker Compose setup with audit logging and repository-scoped OAuth is included as defense-in-depth against credential overreach.
- MCP Security: A Developer’s Guide
Docker easyNoviceMCP servers expand what AI agents can do but introduce risks across four categories: misconfigurations and weak defaults, malicious or compromised servers, secret leakage, and prompt injection or tool poisoning. One cited analysis found command injection flaws in 43% of MCP servers examined. Static AppSec tools miss these risks because agent behavior is non-deterministic and models can treat tool descriptions as instructions. The recommended guardrails are to containerize each server with resource and egress limits, route calls through a policy gateway that verifies signatures, enforces allowlists, redacts secrets, runs pre- and post-call interceptors and logs every call, and pin vetted servers by digest. Docker positions its MCP Gateway and MCP Catalog & Toolkit as the implementation.