CVE-PATCHBAY-2026-0003· openStatic API-key MCP servers without OAuth 2.1 discovery metadata (pattern advisory)
A small cohort of public MCP servers requires a static API key via Authorization: Bearer or an api-key header but does not serve the RFC 9728 /.well-known/oauth-protected-resource document and does not serve OAuth 2.1 authorization-server metadata. Compliant MCP clients that expect token-issuer discovery cannot authenticate against these servers, and static-key authorization lacks the per-user attribution and revocation primitives OAuth provides. 5 hosts in the cohort as of 2026-11-28.
Finding
Check AUTH-002 · Critical because the exposure lets operators ship authentication without the standard discovery + revocation primitives; private-key compromise has no user-level mitigation surface.
Description
patchbay's AUTH-002 check fires when a server signals a credential requirement (401/403 to unauthenticated requests, static-key header accepted) but publishes no /.well-known/oauth-protected-resource or /.well-known/oauth-authorization-server metadata. The MCP Authorization spec (July 2026 revision) requires both for discoverability.
Impact
Three practical impacts: (1) compliant MCP clients cannot connect without hard-coding per-server configuration, so integration surface shrinks; (2) static API keys have no standard rotation or revocation mechanism, operators relying on manual config distribution; (3) no per-user attribution means abuse cannot be tied back to a user account for lockout or audit.
Evidence
5 hosts in the cohort as of 2026-11-28.
Fix
Issue OAuth 2.1 tokens. At minimum publish /.well-known/oauth-protected-resource pointing to the authorization server (RFC 9728). The authorization server should publish /.well-known/oauth-authorization-server advertising code_challenge_methods_supported=['S256'] and the revocation/registration endpoints. Static keys can remain as an optional migration path during rollout.
References
Credit
Discovered by: patchbay audit sweep 2026-11-26
Reported by: Sarah Vogel, patchbay
Published 2026-11-28 · Last modified 2026-11-28