Skip to content

Obot has an authorization bypass in /mcp-connect/{id} that allows any authenticated user to use any registered MCP server

Critical severity GitHub Reviewed Published May 8, 2026 in obot-platform/obot • Updated May 13, 2026

Package

gomod github.com/obot-platform/obot (Go)

Affected versions

<= 0.21.0

Patched versions

0.21.1

Description

Summary

If 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.

Severity

Reporter 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 Versions

Confirmed on obot v0.21.0.

Vulnerability Details

The intended flow is that a user's authorization is checked during the OAuth process with Obot.

  1. The user connects to an MCP URL through Obot.
  2. 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.
  3. However, another authorization check (the UI authorizer, in this case) was erroneously providing access.

Reproduction

Tested on obot v0.21.0.

Setup:

  1. 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.
  2. 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.
  3. Create or identify a Basic User who is not a member of any registry granting access to this server.

Exploit:

  1. Sign in as the Basic User.

  2. Verify the UI does not list the server in any connector picker (it does not — that path is correctly gated).

  3. Manually craft and call the gateway URL:

    POST https://<obot>/mcp-connect/<mcp_server_id>
    Authorization: <session cookie or API key>
    Content-Type: application/json
    
    {"jsonrpc":"2.0","id":1,"method":"tools/list"}
    
  4. Observe a successful response listing the server's tools.

  5. Issue an actual tool call:

{"jsonrpc":"2.0","id":2,"method":"tools/call",
 "params":{"name":"<sensitive_tool>","arguments":{...}}}
  1. 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.

References

@thedadams thedadams published to obot-platform/obot May 8, 2026
Published to the GitHub Advisory Database May 13, 2026
Reviewed May 13, 2026
Last updated May 13, 2026

Severity

Critical

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

EPSS score

Weaknesses

Improper Access Control

The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. Learn more on MITRE.

CVE ID

No known CVE

GHSA ID

GHSA-vw82-7fv8-r6gp

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.