Research · Finding · published · Boston Identity
BI-FIND-2025-0389
The RFC defends against a forged metadata document with a client check: data whose resource value differs from the URL the client used MUST NOT be used.
The RFC's defence against a forged metadata document is a comparison the client makes. The resource value in the document MUST be identical to the identifier the client used to build the metadata URL or, when the URL came from a WWW-Authenticate challenge, to the URL the client called. If they differ, "the data contained in the response MUST NOT be used." The authors say this blocks an attacker who publishes a document carrying another resource's identifier with values of its own choosing, and they make TLS certificate checking on the metadata request a MUST as well. We read the check as proof that the document belongs to the URL the client called, which says nothing about whether that resource is honest. Our briefing on three MCP authorization bugs found one MCP SDK that never made this comparison.
SourceOAuth 2.0 Protected Resource Metadata (RFC 9728) · RFC Editor · · read
About OAuth 2.0 Protected Resource Metadata and Standards.
From the briefing
RFC 9728 tells clients where an API's tokens come from and leaves most of the trust decision to them
RFC 9728, a Standards Track RFC from Michael B. Jones, Phil Hunt and Aaron Parecki, gives an OAuth-protected API a metadata document that a client can find from a 401 response. The document can name the API's authorization servers, and the client must check that it belongs to the URL it called. Beyond an optional cross-check between the resource's list of servers and a server's list of resources, the authors leave the choice of which server to trust to the client.
Article · RFC Editor · Michael B. Jones, Phil Hunt, Aaron Parecki · Apr 2025 · source
Evidence
The passages this finding cites, on the briefing page.
How to cite
Boston Identity. "RFC 9728 tells clients where an API's tokens come from and leaves most of the trust decision to them," BI-FIND-2025-0389. IAM Insights, October 20, 2026. https://insights.bostonidentity.com/ref/BI-FIND-2025-0389
© 2026 Boston Identity LLC. All rights reserved. Quote up to 100 words with the credit Boston Identity, IAM Insights and a link. How to cite · Terms
Was this claim useful?