Generic OIDC authentication can panic when matching list-valued claims
GHSA-rxhc-fwc2-57jq · published 2026-11-27
- Severity
- Low
- CVSS score
- Not scored
- Chance of exploitation (EPSS)
- No CVE
- Fixed in
- 1.7.7
MCP Registry deployments using generic OpenID Connect (OIDC) could fail a token exchange when both a configured extra-claim rule and the corresponding claim in a trusted token contained lists of scalar values, such as group names. The comparison could panic during that request. This finding concerns availability of the affected login flow.
Upgrade github.com/modelcontextprotocol/registry to 1.7.7 or later.
Versions >= 0.0.1, < 1.7.7 are affected. Upgrade to v1.7.7 or later for the scalar-list fix. The matcher compares the individual values and accepts a list when it contains an allowed value. Fix #1238 · v1.7.7 release
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| github.com/modelcontextprotocol/registry | Go | >= 0.0.1, < 1.7.7 | 1.7.7 |
- 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.