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
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.
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
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| github.com/modelcontextprotocol/registry | Go | >= 0.0.1, < 1.8.20 | 1.8.20 |
- CriticalLiteLLM has SQL Injection in Proxy API key verificationlitellmExploited
- Criticaln8n Vulnerable to Remote Code Execution via Expression Injectionn8nExploited
- HighLiteLLM has a sandbox escape in custom-code guardraillitellmExploited
- HighLangflow affected by Remote Code Execution via validate_code() exec()langflowExploited
- Criticalgit_add runs submodule filter commands when gitlink mode is not 160000mcp-server-git
- Criticalmcp-server-git: unexpandable sparse index lets submodule filter drivers runmcp-server-git
- MediumGitHub Pages site control could grant publishing rights for an organization’s registry namespacegithub.com/modelcontextprotocol/registry
- MediumA registry listing could block another publisher from listing the same remote endpointgithub.com/modelcontextprotocol/registry
- MediumMCP Registry has an unauthenticated SSRF: HTTP namespace verification dials 6to4 / NAT64 / site-local IPv6 addresses, bypassing private-addrgithub.com/modelcontextprotocol/registry
- MediumMCP Registry vulnerable to stored XSS in catalogue UI via attribute-quote breakout in publisher-controlled `websiteUrl`github.com/modelcontextprotocol/registry
- MediumMCP Registry has open redirect via protocol-relative path in trailing-slash middlewaregithub.com/modelcontextprotocol/registry
- LowRegistry writes could repeat package ownership checks within a single requestgithub.com/modelcontextprotocol/registry
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.