Vulnerability · Published Aug 31, 2026 · Assigned by GitHub_M
CVE-2026-79746MCPHub: Server-scoped bearer key gains access to an entire group via partial (any-overlap) server matching
High 8.1
In plain English
A high-severity incorrect authorization in mcphub from samanhappy. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities).
Official description
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 products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| samanhappy | mcphub | < 1.0.31 |
Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
References
- https://github.com/samanhappy/mcphub/security/advisories/GHSA-454m-4vm6-842f x_refsource_CONFIRM
- https://github.com/samanhappy/mcphub/pull/1059 x_refsource_MISC
- https://github.com/samanhappy/mcphub/commit/2b10ae36112ce68deebf910b22505d44efcef552 x_refsource_MISC
- https://github.com/samanhappy/mcphub/releases/tag/v1.0.31 x_refsource_MISC