Skip to content
IAM Insights

Briefing · Paper · source · updated · Boston Identity

114 of 119 MCP servers that let outsiders register an OAuth client let them choose where sign-in codes are sent

Six researchers at Fudan University and Central South University found 7,973 remote MCP servers on the open internet, and four in ten answered tool calls with no credential at all. They then attacked the OAuth setups of the 119 servers they could test end to end. Every one had at least one flaw, 325 in all, and nine CVEs followed, seven of them from open client registration.

arXiv · Huijun Zhou, Xiaohan Zhang, Haozhe Zhang, Haoyang Zhang, Mi Zhang, Min Yang · May 21, 2026 · read

share
4 findings5 sectionsAgentic identityStandardsAI trustFraud
11,298 words. With Zhou et al., author, Fudan University.
01

What's happening

Finding4
BI-FIND-2026-0944Lead finding

Of the 119 remote MCP servers with dynamic registration that the authors could test end to end, 114 accepted any redirect address from an anonymous registrant.

Of the 119 remote MCP servers whose OAuth setups Zhou, Zhang and colleagues could test end to end, all of which register clients dynamically, 114 accepted any redirect address from an anonymous registrant. That lets an attacker register a client with a callback of their own, get the victim to click a genuine sign-in link, and collect the authorization code; seven of the nine CVEs the authors obtained trace to this flaw. Every server tested had at least one flaw, 325 in all. The 119 are what was left of 1,118 servers advertising a registration endpoint after the authors dropped duplicates, unreachable hosts and 316 servers behind enterprise access controls, so the rate describes servers open to outside registration, not MCP as a whole.

high confidencebest source: independent researchobserved May 2026EvidenceSection 4How OAuth is deployed in MCP
flag a problem with BI-FIND-2026-0944
BI-FIND-2026-0945

Four in ten remote MCP servers the authors found, 3,233 of the 7,973 that answered a handshake, required no authentication.

Four in ten of the remote MCP servers the authors found answered with no authentication: 3,233 of 7,973 servers that responded to an MCP handshake, against 2,428 using OAuth and 2,312 using static tokens or API keys. When the authors sampled the open ones, most were test or demonstration deployments with nothing sensitive in them. One was an internal customer-records server, meant to be private, that let anyone query more than 5,000 customer records (CVE-2025-61510). The count covers hosts that FOFA and Shodan index, so servers those engines miss are not in it.

high confidencebest source: independent researchobserved May 2026EvidenceSection 1
flag a problem with BI-FIND-2026-0945
BI-FIND-2026-0946

PKCE, the check meant to stop a stolen authorization code being redeemed, was optional in practice on 81 of the 119 servers the authors tested.

PKCE, the check meant to stop a stolen authorization code from being redeemed, was optional in practice on 81 of the 119 servers: their authorization servers let the code challenge be left out or downgraded to the plain method. In the authors' third case study, that gap plus an open redirect was enough to take over an account. The consent page was the other weak point. The paper counts servers whose consent page did not show the user the redirect address as 72 in its text and 62 in its chart, and only 62 makes the chart's totals add up.

high confidencebest source: independent researchobserved May 2026EvidenceSection 4
flag a problem with BI-FIND-2026-0946
BI-FIND-2026-0947

Under the CIMD draft an attacker can host a document naming their own callback, so the move from dynamic registration leaves the consent page to stop them.

One of the authors' fixes for open registration is a move to Client ID Metadata Documents (CIMD), which they say pin client identity to a "cryptographically verifiable" document, and the MCP specification's 2026-07-28 revision did deprecate dynamic registration in favour of CIMD, keeping it only for authorization servers that lack CIMD support. We think the fix is weaker than the paper makes it sound. In the CIMD draft, which we read separately, a client's identity is control of a web address, its redirect addresses come from the document it publishes, and tying them to the client's own hostname is optional for the server. An attacker can host a document naming their own callback. What is left to stop them is the consent page telling the user who is asking, and in this study at least 62 of the 119 consent pages did not show where the code would go.

flag a problem with BI-FIND-2026-0947
02

Section by section

5

showing 5 of 5

[1]

Measuring remote MCP servers and their authentication

Zhou et al., Fudan University

Agentic identityAI trust

The authors searched FOFA and Shodan for 28,715 candidate hosts and kept the 7,973 that answered an MCP initialize request. Of those, 40.55% expose tools with no authentication, 30.45% use OAuth and 29.00% use static tokens or API keys. One open server, an internal CRM, exposed more than 5,000 customer records (CVE-2025-61510). Hosts the two search engines do not index are missing from the count.

technical artifactfrom published text + figures

[2]

How OAuth is deployed in MCP: three characteristics and the four-phase workflow

Zhou et al., Fudan University

Agentic identityStandards

Of the 2,428 OAuth servers, 1,118 (46.0%) advertise a dynamic client registration endpoint, and 119 were testable after filtering. All 119 serve clients running in environments the server does not control and register them dynamically. 81 (68.07%) also act as an OAuth client to an upstream service, which adds a delegated hop. The authors model the flow as three phases plus that delegated one.

technical artifactfrom published text

[3]

Taxonomy of nine flaws in four categories

Zhou et al., Fudan University

Agentic identityStandards

Nine flaws in four groups, each tied to a step in the flow: registration (malicious DCR binding, blind client trust), the delegated hop (layer inconsistency, nested context pollution), the open client environment (PKCE downgrade, consent page bypass) and ordinary OAuth mistakes (open redirect, weak state, code replay).

technical artifactfrom published text

[4]

Detection results on 119 servers and three case studies

Zhou et al., Fudan University

Agentic identityAI trustFraud

A Burp Suite detector built on OAuthScan, with every hit checked by hand, found 325 flaws across the 119 servers. Every server had at least one and 39 had flaws in three or more groups. Malicious DCR binding hit 114 servers, PKCE downgrade 81, consent page bypass 62 by the chart (72 in the text) and open redirect 28, at 85.75% precision and 99.69% recall. All three case studies end in account takeover, and nine CVEs were assigned.

technical artifactfrom published text + figures

[5]

Root causes, mitigations and limits

Zhou et al., Fudan University

Agentic identityStandards

The authors blame fast-moving spec revisions, the MCP server's double role as resource server and OAuth client, and how easy DCR is to switch on. They propose restricting DCR redirect addresses, enforcing PKCE on the server with S256 only, keeping delegated routing state on the server, and making PKCE and DCR restrictions MUSTs in the MCP spec. They name search-engine coverage and rule-based detection as the study's limits.

opinionfrom published text

Terms used

MCP server
The tool-providing side of the Model Context Protocol (MCP): exposes tools, resources and prompts to an MCP client, often running locally with the user's privileges.
OAuth
The web's standard framework for delegated authorization — letting one application act at another on a user's (or machine's) behalf without sharing passwords.
CVE
A public catalogue number for a known, specific software or hardware vulnerability, used to track and reference security flaws consistently across vendors and researchers.
API key
A long-lived secret string that lets software call a service; anyone who copies it can use it until someone revokes it.
PKCE
An OAuth 2.0 security extension, mandatory in OAuth 2.1, that stops an intercepted authorization code from being redeemed: the client hashes a random code verifier into a code challenge sent up front, then must present the original verifier to exchange the code for a token.
Client ID Metadata Documents
A draft OAuth method letting a client identify itself by publishing a metadata document at an HTTPS URL it controls, instead of registering with each authorization server first.
Model Context Protocol
Model Context Protocol: an open standard, originated by Anthropic, for connecting AI assistants to tools and data.
CRM
Customer relationship management: the system a company keeps its customer records, sales deals and support history in, such as Salesforce. It holds data many AI agents are being asked to read and change.

Cited in our columns

Read next

Was this briefing useful?

Share this briefing

Every finding, forecast and open question on this site has a permanent ID. If we reword one, its ID stays the same, so a citation keeps pointing to the same claim.

Follow us on LinkedInRSS feed

Working on an identity problem this research touches? Talk to Boston Identity