UTC
Low

Generic OIDC authentication could panic when comparing object-valued claims

GHSA-v3gx-9qjq-qw99 · published 2026-11-27

Severity
Low
CVSS score
Not scored
Chance of exploitation (EPSS)
No CVE
Fixed in
1.8.20
What it is

In MCP Registry server versions before v1.8.20, a generic OIDC token exchange could panic while comparing an object-valued extra claim with an object-valued rule. This required a deployment configured with an affected rule and an otherwise valid token from its trusted issuer. The confirmed impact was failure of the affected authentication request. The hosted registry uses a scalar Google Workspace domain rule. The severity is Low.

What to do

Upgrade github.com/modelcontextprotocol/registry to 1.8.20 or later.

Upgrade the registry server to v1.8.20 or later. The matcher checks each required claim and its entire configured value before accepting a match. Strings, booleans, numbers, and flat lists containing a single scalar type retain their existing equality and overlap behavior. Objects, nested or mixed lists, nulls, empty claim lists, and missing required claims deny the exchange. Self-hosters using mixed lists should configure their issuer and rule to use one scalar type per claim. Fix in PR #1930 · v1.8.20 release

Affected
PackageRegistryAffectedFixed in
github.com/modelcontextprotocol/registryGo>= 0.0.1, < 1.8.201.8.20

The impact, patch and workaround text comes from the advisory, shortened (published by the MCP Registry project). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.

Sources: GitHub Advisory Database, reviewed and malware advisories (CC BY 4.0, https://github.com/advisories); advisories published by Cursor (https://github.com/cursor/cursor/security/advisories); advisories published by OpenClaw (https://github.com/openclaw/openclaw/security/advisories); advisories published by vLLM (https://github.com/vllm-project/vllm/security/advisories); advisories published by Open WebUI (https://github.com/open-webui/open-webui/security/advisories); advisories published by n8n (https://github.com/n8n-io/n8n/security/advisories); advisories published by Flowise (https://github.com/FlowiseAI/Flowise/security/advisories); advisories published by Langflow (https://github.com/langflow-ai/langflow/security/advisories); advisories published by the MCP Python SDK project (https://github.com/modelcontextprotocol/python-sdk/security/advisories); advisories published by the MCP reference servers project (https://github.com/modelcontextprotocol/servers/security/advisories); advisories published by the MCP Inspector project (https://github.com/modelcontextprotocol/inspector/security/advisories); advisories published by the MCP TypeScript SDK project (https://github.com/modelcontextprotocol/typescript-sdk/security/advisories); advisories published by the MCP Go SDK project (https://github.com/modelcontextprotocol/go-sdk/security/advisories); advisories published by the MCP Java SDK project (https://github.com/modelcontextprotocol/java-sdk/security/advisories); advisories published by the MCP Kotlin SDK project (https://github.com/modelcontextprotocol/kotlin-sdk/security/advisories); advisories published by the MCP Rust SDK project (https://github.com/modelcontextprotocol/rust-sdk/security/advisories); advisories published by the MCP Ruby SDK project (https://github.com/modelcontextprotocol/ruby-sdk/security/advisories); advisories published by the MCP C# SDK project (https://github.com/modelcontextprotocol/csharp-sdk/security/advisories); advisories published by the MCP PHP SDK project (https://github.com/modelcontextprotocol/php-sdk/security/advisories); advisories published by the MCP Registry project (https://github.com/modelcontextprotocol/registry/security/advisories); advisories published by Open Terminal (https://github.com/open-webui/open-terminal/security/advisories); advisories published by MLflow (https://github.com/mlflow/mlflow/security/advisories); CISA Known Exploited Vulnerabilities catalog (CC0). Data as of 2026-12-06. ShieldMap describes how each problem works and how to fix it; it does not publish exploit code. Report a correction to [email protected].