MCPHub
MCPHub: Server-scoped bearer key gains access to an entire group via partial (any-overlap) server matching
MCPHub is a unified hub for centrally managing and dynamically orchestrating multiple MCP servers/APIs into separate endpoints with flexible routing strategies. Prior to version 1.0.31, when a bearer key with accessType: 'servers' (or 'custom') is used against a group route, isBearerKeyAllowedForRequest grants access to the entire group as long as any single server in that group appears in the key's allowedServers list — not only when every server the key is scoped to matches, and critically, without ever re-checking allowedServers again once the group-level connection is authorized. A key explicitly scoped to one specific server therefore also grants full access to every other server that happens to share a group with it, including servers the key was never authorized for. This issue has been patched in version 1.0.31.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.0.31
Fixed in 1.0.31
Mitigation
Upgrade mcphub to 1.0.31 or later.
References
- Vendor advisory github.com/samanhappy/mcphub/security/advisori…
- Patch github.com/samanhappy/mcphub/pull/1059
- Patch github.com/samanhappy/mcphub/commit/2b10ae3611…
1 more
- Release notes github.com/samanhappy/mcphub/releases/tag/v1.0…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.