---
title: "MCP Horror Stories: The Supply Chain Attack"
description: "CVE-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."
url: "https://swe.quest/articles/mcp-horror-stories-the-supply-chain-attack-4511e601e3b80aa5"
canonical: "https://www.docker.com/blog/mcp-horror-stories-the-supply-chain-attack/"
source: "Docker"
published: "2025-08-07"
difficulty: "medium"
kind: "Incident"
reading_minutes: 9
tags: ["supply-chain-security","vulnerability-research","ai-agents","appsec","containers"]
---

# MCP Horror Stories: The Supply Chain Attack

A post on [Docker](https://swe.quest/sources/docker.md), published 2025-08-07, 9 min read, Incident. Original: [https://www.docker.com/blog/mcp-horror-stories-the-supply-chain-attack/](https://www.docker.com/blog/mcp-horror-stories-the-supply-chain-attack/)

## Summary

CVE-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.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Supply chain security](https://swe.quest/tags/supply-chain-security.md) (Security)
- [Vulnerability research](https://swe.quest/tags/vulnerability-research.md) (Security)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Application security](https://swe.quest/tags/appsec.md) (Security)
- [Containers](https://swe.quest/tags/containers.md) (Infrastructure)

## Prerequisites

- OAuth authorization flow ([easy posts on Identity & auth](https://swe.quest/tags/identity-auth.md?difficulty=easy))
- Model Context Protocol basics
- shell command injection ([easy posts on Application security](https://swe.quest/tags/appsec.md?difficulty=easy))

## Keywords

CVE-2025-6514, mcp-remote, Model Context Protocol, Docker MCP Toolkit, OAuth, PowerShell, JFrog

## Related posts

- [MCP Horror Stories: The Security Issues Threatening AI Infrastructure](https://swe.quest/articles/mcp-horror-stories-the-security-issues-threatening-ai-infrastructure-11571cbab816ae96.md): Docker · 2025-07-31 · Medium · 10 min read · AI agents, Security, Supply chain security, Containers, Sandboxing & isolation
  MCP 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.
- [MCP Horror Stories: The Drive-By Localhost Breach](https://swe.quest/articles/mcp-horror-stories-the-drive-by-localhost-breach-5adbe194ac2f44eb.md): Docker · 2025-09-23 · Medium · 16 min read · Vulnerability research, Application security, AI agents, Browsers
  CVE-2025-49596 (CVSS 9.4) let any website achieve remote code execution on developer machines running MCP Inspector below 0.14.1.
- [MCP Security: A Developer’s Guide](https://swe.quest/articles/mcp-security-a-developer-s-guide-ee8f7d25fd64b2f2.md): Docker · 2025-09-16 · Easy · 8 min read · AI agents, Security, Supply chain security, Containers
  MCP 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.
- [MCP Horror Stories: The GitHub Prompt Injection Data Heist](https://swe.quest/articles/mcp-horror-stories-the-github-prompt-injection-data-heist-118a1d699702a7aa.md): Docker · 2025-08-14 · Medium · 15 min read · AI agents, Application security, Identity & auth, LLMs
  A prompt injection planted in a public GitHub issue can hijack an AI agent using the official GitHub MCP server.
- [Your Org, Your Tools: Building a Custom MCP Catalog](https://swe.quest/articles/your-org-your-tools-building-a-custom-mcp-catalog-9e6e2d7cab0acd03.md): Docker · 2025-10-24 · Medium · 7 min read · AI agents, Containers, Supply chain security, Developer tools
  A private MCP catalog lets an organization restrict which MCP servers developers and AI assistants can reach.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
