Originally published at naditu.com/blog/cimd-vs-dcr-in-mcp-registration-and-fetch-flood-risks.

Security reviews of the 2026-07-28 Model Context Protocol (MCP) authorization update frequently repeat a bold claim from identity-vendor posts: replacing OAuth 2.0 Dynamic Client Registration (DCR, RFC 7591) with Client ID Metadata Documents (CIMD) eliminates the registration desk and stops registration-flood attacks.

That claim is half right. Deprecating open POST /register removes persistent database bloat, yet it does not stop strangers from forcing your authorization server to perform outbound network work.

What Actually Disappears When /register Goes Away

Dimension RFC 7591 Open DCR OAuth CIMD (2026-07-28 SHOULD)
Where client metadata lives One database row per POST /register on the server A JSON document hosted on the client's HTTPS URL
Unauthenticated write endpoint Yes (POST /register) None
State left behind by a flood Permanent rows (evicting breaks real issued client_ids) Throwaway HTTP cache (LRU eviction is safe)
Remote redirect trust Self-asserted strings Domain-bound HTTPS origin

Four Attack Vectors That Survive Under CIMD

  1. One cheap wildcard domain generates unbounded client_id URLs: An attacker does not need thousands of domains. Because a CIMD client_id is a full HTTPS URL with a non-root path, a five-line wildcard handler on one domain can serve https://attacker.example/c/1.json through https://attacker.example/c/1000000.json. Every unseen URL forces outbound DNS resolution, TCP/TLS handshakes, and an HTTP GET—or turns your server into an HTTP reflection amplifier against third-party hosts.
  2. A 5 KiB response cap bounds bytes per fetch, not fetch count: The IETF draft-ietf-oauth-client-id-metadata-document 5 KiB limit and short connect/read timeouts cap single-response payload size, not concurrent unseen-URL volume.
  3. Deferring fetches until after user login breaks on PAR (RFC 9126): Fetching metadata only after user sign-in blocks anonymous /authorize floods, but Pushed Authorization Requests (PAR) validate client_id metadata before the user authenticates.
  4. Localhost callback impersonation bypasses domain trust: As both the MCP security considerations and the NSA/DoD CSI_MCP_SECURITY advisory note, desktop and CLI tools publish http://127.0.0.1 redirect URIs inside their legitimate CIMD JSON. Any untrusted local process can present a real vendor's client_id URL, display the vendor's domain on the consent screen, and intercept the authorization code on loopback.

Practical Production Defenses

  • Enforce domain allowlists, RFC 6890 SSRF blocks, and eTLD+1 rate budgets: Reject private/link-local/cloud-metadata IPs (169.254.169.254) on the resolved socket, disable HTTP 3xx redirects, cap unseen fetches per registrable root domain (eTLD+1), and negatively cache invalid responses.
  • Separate OAuth client identity from operational data permissions: OAuth registration only identifies which client binary connected. Enforcing which ERP, CRM, or manufacturing rows the signed-in user may read—and holding operational writes behind human sign-off—belongs in an enterprise business ontology (see the companion vendor-neutral reference guide on NSA MCP Security & OAuth CIMD vs. DCR).