{
  "id": "cve-2025-6514-mcp-remote-rce",
  "name": "CVE-2025-6514 mcp-remote OAuth authorization_endpoint RCE",
  "date_reported": "2025-07-09",
  "researcher": "Or Peles / JFrog",
  "org": "JFrog",
  "sources": [
    {
      "url": "https://jfrog.com/blog/2025-6514-critical-mcp-remote-rce-vulnerability/"
    },
    {
      "url": "https://github.com/advisories/GHSA-6xpm-ggf7-wc3p"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/cve-2025-6514"
    }
  ],
  "magicsword_coverage": [],
  "borderline": false,
  "borderline_note": null,
  "ai_role": "ai_agent_or_mcp_as_target",
  "ai_role_secondary": null,
  "ai_role_detail": null,
  "technique_summary": "Critical OS command injection in mcp-remote 0.0.5–0.1.15. Malicious or MITM MCP server returns crafted OAuth authorization_endpoint; client opens URL and on Windows PowerShell executes injected commands. CVSS 9.6. Fixed in 0.1.16.",
  "initial_access": "Connect mcp-remote client to untrusted/compromised remote MCP server",
  "ai_tooling_and_models": [
    "mcp-remote",
    "MCP OAuth discovery"
  ],
  "other_tooling": [
    "open()/PowerShell sink class"
  ],
  "victims_and_sectors": "unknown",
  "regions": [
    "unknown"
  ],
  "attribution_or_cluster": "unknown",
  "scale_and_metrics": "CVSS 9.6 Critical",
  "prevention_angle": "Upgrade mcp-remote ≥0.1.16; argv not shell for URLs; trust only pinned MCP origins",
  "related_magicsword_projects": [],
  "source_notes": null,
  "last_reviewed": "2026-10-20",
  "attack_flow": {
    "nodes": [
      {
        "id": "step-1",
        "title": "Client connects to an untrusted server",
        "description": "An attacker-controlled, compromised or intercepted remote MCP connection is used.",
        "kind": "access",
        "source_urls": [
          "https://jfrog.com/blog/2025-6514-critical-mcp-remote-rce-vulnerability/",
          "https://github.com/advisories/GHSA-6xpm-ggf7-wc3p",
          "https://nvd.nist.gov/vuln/detail/cve-2025-6514"
        ]
      },
      {
        "id": "step-2",
        "title": "Server returns OAuth discovery data",
        "description": "The response supplies a crafted authorization_endpoint URL.",
        "kind": "ai",
        "source_urls": [
          "https://jfrog.com/blog/2025-6514-critical-mcp-remote-rce-vulnerability/",
          "https://github.com/advisories/GHSA-6xpm-ggf7-wc3p",
          "https://nvd.nist.gov/vuln/detail/cve-2025-6514"
        ]
      },
      {
        "id": "step-3",
        "title": "Browser-opening helper invokes PowerShell",
        "description": "On affected Windows clients the URL is interpreted as a command-injection payload.",
        "kind": "execution",
        "source_urls": [
          "https://jfrog.com/blog/2025-6514-critical-mcp-remote-rce-vulnerability/",
          "https://github.com/advisories/GHSA-6xpm-ggf7-wc3p",
          "https://nvd.nist.gov/vuln/detail/cve-2025-6514"
        ]
      },
      {
        "id": "step-4",
        "title": "Commands execute locally",
        "description": "Affected mcp-remote versions permit OS command execution; the report identifies a fixed version.",
        "kind": "impact",
        "source_urls": [
          "https://jfrog.com/blog/2025-6514-critical-mcp-remote-rce-vulnerability/",
          "https://github.com/advisories/GHSA-6xpm-ggf7-wc3p",
          "https://nvd.nist.gov/vuln/detail/cve-2025-6514"
        ]
      }
    ],
    "edges": [
      {
        "source": "step-1",
        "target": "step-2"
      },
      {
        "source": "step-2",
        "target": "step-3"
      },
      {
        "source": "step-3",
        "target": "step-4"
      }
    ]
  },
  "category": "attacks-on-ai",
  "ai_involvement_confidence": "confirmed",
  "detections": [
    {
      "name": "Review attack-specific indicators",
      "format": "guidance",
      "notes": "Monitor for the techniques described in CVE-2025-6514 mcp-remote OAuth authorization_endpoint RCE. Refer to sources for specific IOCs and TTPs."
    }
  ]
}