Ingenious AI

Ingenious AI · Agent infrastructure · Free self-check

Could one bad MCP server steal your token for a different service?

On 2026-11-18, NVD published CVE-2026-130766 (advisory GHSA-x3hf-v55x-jcp6, CVSS 8.8), one of four Obot MCP gateway flaws: Obot 0.26.0–0.26.3 failed to validate the resource identifier in a remote MCP server's protected-resource metadata, so a booby-trapped server could obtain the user's access token minted for a different service. The advisory adds the compounding trap: many enterprise IdPs support neither open client registration nor RFC 8707 resource indicators. This page audits your setup for exactly that shape.

What this does — and does not do

Does: read two pastes locally: the MCP server's protected-resource metadata (its RFC 9728 document) and your gateway / IdP configuration text. It checks whether the metadata's resource identifier matches the service you say the token is for, whether authorization_servers is declared, whether the config sends an RFC 8707 resource indicator, whether it speaks of validating that identifier, and whether it names an Obot version inside the vulnerable 0.26.0–0.26.3 range (fixed in v0.27.0).

Does not: request, mint or inspect any token, contact your IdP or gateway, or observe runtime behaviour. A config can claim validation its code skips — this guard reads the pastes and names what they do and do not establish; if your IdP ignores the resource parameter, the guard says the binding cannot be proven from config alone.

Paste the metadata and your gateway config

The facts behind this check

The confused-audience theft is quiet because every individual step looks legitimate: the user authorizes a real server, the IdP mints a real token, the gateway forwards it — to the audience named in metadata nobody validated. Binding a token to its resource is what RFC 8707's resource indicator exists for, and validating the metadata's resource field against the service the user actually chose is the gateway's half of the same promise. CVE-2026-130766 is what happens when neither half is done: one malicious tool inherits every connected service the token opens.

Frequently asked questions

What does this guard audit?

It audits two pastes: the MCP server protected-resource metadata and your gateway or identity provider configuration text. It checks whether the resource identifier in the metadata matches the service you say the token is for.

What else does it look for in the configuration?

It looks for whether authorization servers are declared, whether the config sends an RFC 8707 resource indicator, whether it speaks of validating that identifier, and whether it names an Obot version inside the vulnerable range described on this page.

Does this guard handle my actual tokens?

No. It does not request, mint or inspect any token, and it does not contact your identity provider or gateway. The audit runs locally in your browser on the metadata and configuration text you paste.

What does a clean result fail to prove?

A config can claim validation that its code skips, and this guard only reads the pastes. If your identity provider ignores the resource parameter, the guard says the binding cannot be proven from config alone.

What should I check first if the resource identifiers do not match?

Start with the metadata itself, and compare its resource field against the service the user actually chose. The page frames that validation as the gateway half of the same promise that RFC 8707 resource indicators make on the token side.

Sources

GHSA-x3hf-v55x-jcp6 / CVE-2026-130766 — Obot MCP gateway resource-identifier validation failure (CVSS 8.8; vulnerable 0.26.0–0.26.3; fixed v0.27.0), NVD-published 2026-11-18.

RFC 8707 — Resource Indicators for OAuth 2.0 · RFC 9728 — OAuth 2.0 Protected Resource Metadata

Running agent stacks in production? TrustGate watches the MCP servers your agents actually run. This page is a one-off static audit, not monitoring.

← Back to Ingenious AI home