GHSA-vw82-7fv8-r6gp Obot has an authorization bypass in /mcp-connect/{id} that allows any authenticated user to use any registered MCP server
SummaryIf you have the MCP Server ID, you can connect to the MCP server even if you don't have permissions to the server.The MCP gateway endpoint `/mcp-connect/{mcp_id}` does not enforce Access Control Rules (ACRs). Any authenticated Obot user who possesses an MCP Server ID can connect to that server through the gateway — including making tool calls — regardless of whether they are a member of any MCP Registry that grants access to the server.In practice this means any User can fully use MCP servers that the administrator believed were restricted to specific groups.SeverityReporter estimate: **Critical**.| CVSS 3.1 metric | Value |
|---|---|
| Attack Vector | Network |
| Attack Complexity | Low |
| Privileges Required | Low (authenticated Obot user, any role ≥ Basic) |
| User Interaction | None |
| Scope | Changed (Obot authorization bypass enables access to data and operations on an upstream third-party service via Obot's stored OAuth credentials) |
| Confidentiality | High |
| Integrity | High (many MCP servers expose write tools — e.g. `updateEmployee`, `submitTimeoffRequest`, ticket creation, file writes) |
| Availability | None |
| **Vector** | `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N` |
| **Score** | **9.3 / Critical** |The upstream impact depends on which MCP servers are deployed and what scope their stored credentials hold; the bound is "everything the platform's stored OAuth/API credentials can reach."Affected VersionsConfirmed on `obot v0.21.0`.Vulnerability DetailsThe intended flow is that a user's authorization is checked during the OAuth process with Obot.The user connects to an MCP URL through Obot.During the callback, after the user logs into Obot, Obot checks that the user has access to the provided resource (the `/mcp-connect` URL in this case). Obot correctly determines the user's authorization during this flow.However, another authorization check (the UI authorizer, in this case) was erroneously providing access.ReproductionTested on `obot v0.21.0`.**Setup:**Configure a multi-user MCP server connected to a sensitive backend — e.g. an HR system, ticketing system, or any service whose stored OAuth token grants broad read/write access. Note its ID.Create an MCP Registry / Access Control Rule that grants this server **only** to a small group (e.g. two HR employees). Remove the `everyone` group from the relevant rule.Create or identify a Basic User who is **not** a member of any registry granting access to this server.**Exploit:**Sign in as the Basic User.Verify the UI does not list the server in any connector picker (it does not — that path is correctly gated).Manually craft and call the gateway URL:Observe a successful response listing the server's tools.Issue an actual tool call:Observe the call succeeds, returning data scoped only by the **upstream** MCP server's OAuth credentials — not by Obot's ACRs.The exploit works equally well via Claude Desktop / Claude Code / any MCP-aware client by configuring the gateway URL as a remote MCP endpoint with the user's API key.
CVSS v3.1 score: 9.6