MCP Registry CVE-2026-44428
LOWAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRequest GitHub Actions OIDC token with shared audience
-
DeliveryCapture or intercept legitimately issued token
-
ExploitPOST token to attacker-controlled registry /v0/auth/github-oidc endpoint
-
ExecutionAttacker registry validates using shared audience string
-
PersistAttacker registry mints JWT with victim namespace permissions
-
ImpactAttacker publishes malicious package under victim io.github.<owner>/* namespace
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Three specific conditions must all be true for exploitation: (1) the victim must use GitHub Actions OIDC authentication (via mcp-publisher login github-oidc) rather than alternative auth methods; (2) the victim workflow must target or be routed through a registry deployment that the attacker controls or can observe (such as a staging environment, self-hosted instance, or attacker-controlled URL passed via --registry flag); (3) the attacker-controlled registry and the victim-targeted registry must both run vulnerable versions of the code (versions prior to 1.7.6) and share the same hardcoded audience string 'mcp-registry'. Exploitation is limited by token expiry (GitHub OIDC tokens have short lifetime, typically 5-60 minutes depending on configuration) - the attacker must capture and replay the token before expiration. The vulnerability does not require any special configuration of the registry itself; default configurations are vulnerable. However, if a registry deployment does not receive traffic from the victim (no token to intercept) or if the victim never uses multiple registry instances, the attack surface is reduced. |
| Impact | This is a high-impact trust boundary violation despite the absence of a CVSS score in the input data. Real-world risk assessment: Attack vector is network (attacker needs to observe or control a registry endpoint), attack complexity is low (token is obtained legitimately, replay is trivial), privileges required depend on whether the attacker controls a registry or intercepts traffic (AV:N/AC:L suggests low barrier). The vulnerability requires three preconditions: (1) victim uses GitHub Actions OIDC publishing, (2) victim workflow targets multiple registry deployments, (3) attacker-controlled or compromised registry can observe and replay tokens before expiry. The patch status shows upstream fix available (committed and released), indicating vendor acknowledgment of severity. The tag 'Authentication Bypass' correctly characterizes this as breaking the intended trust model. Unlike typical high-CVSS issues, this is not widely exploitable against default configurations - it requires attacker control of an alternate registry or the ability to intercept tokens in flight - but when exploitable, impact is severe (unauthorized publication under victim namespace). SSVC framework: Exploitation requires specific conditions (not uncontrolled), technical impact is high (publish to another's namespace), but automatable once attacker has registry access. |
| Exploit ScenarioDerived | An attacker with access to a self-hosted or staging MCP Registry deployment (or who intercepts traffic to one) captures a GitHub OIDC token obtained when a victim user runs |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 08, 2026
MCP Registry's GitHub OIDC token exchange allows cross-registry replay attacks due to use of a shared global audience string instead of registry-specific identifiers. An attacker controlling or observing any registry deployment can capture a legitimately issued OIDC token and replay it to another registry instance sharing the same codebase to obtain publish-capable JWTs for the victim GitHub owner namespace, breaking deployment isolation. The vulnerability affects all versions prior to 1.7.6; vendor-released patch available.
RemediationAI
Vendor-released patch: upgrade to MCP Registry version 1.7.6 or later. The fix replaces the shared hardcoded audience string 'mcp-registry' with registry-specific audiences derived from the registry URL scheme and hostname (e.g., 'https://registry.modelcontextprotocol.io'). On the client side, cmd/publisher/auth/github-oidc.go now calls audienceFromRegistryURL() to compute instance-specific audience before requesting the GitHub OIDC token, and passes this audience to getOIDCTokenFromGitHub(). On the server side, internal/api/handlers/v0/auth/github_oidc.go now reads the audience from environment variable MCP_REGISTRY_GITHUB_OIDC_AUDIENCE and validates tokens against that configured value instead of the hardcoded string. Deployment requirement: set MCP_REGISTRY_GITHUB_OIDC_AUDIENCE environment variable to the appropriate registry URL (scheme + hostname) for each deployment; production should use 'https://registry.modelcontextprotocol.io', staging 'https://staging.registry.modelcontextprotocol.io', etc. No workarounds are available for versions prior to 1.7.6 that do not break functionality - avoid using the GitHub OIDC publishing path across multiple registry instances if versions cannot be immediately upgraded. Patch references: https://github.com/modelcontextprotocol/registry/pull/1229, https://github.com/modelcontextprotocol/registry/commit/3f89fc2b1fb34fd49f3c0e1b39e964a5c67b613f.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in go
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
MCP Registry integrates GitHub Actions OIDC (OpenID Connect) for publisher authentication. The vulnerable flow: client requests a GitHub Actions ID token with audience 'mcp-registry' regardless of target registry URL; server validates only that fixed audience string and derives publish permissions from the repository_owner claim. The root cause is CWE-918 (Server-Side Request Forgery) manifested as trust boundary bypass - the OIDC token audience parameter is not bound to the specific registry instance (hostname, scheme, or deployment identifier), allowing any registry deployment validating the same audience to accept tokens issued for other deployments. The GitHub OIDC flow involves: cmd/publisher/commands/login.go parses --registry URL; cmd/publisher/auth/github-oidc.go requests GitHub ID token with shared audience and exchanges it at the chosen registry endpoint; internal/api/handlers/v0/auth/github_oidc.go validates the audience without registry-specificity and mints a new JWT with publish permissions pattern io.github.<owner>/*.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
Primary rating from Vendor (https://github.com/modelcontextprotocol/registry) · only source for this CVE.
CVSS VectorVendor: https://github.com/modelcontextprotocol/registry
Lifecycle Timeline
2DescriptionCVE.org
[SECURITY] registry_001 Vulnerability Report
While analyzing the code logic, an area that may lead to unintended behavior under specific conditions was discovered.
Overview
- Verified Version:
c5c4b9e8890dd5754bee889b2f1417f4fe3b5ce5 - Vulnerability Type: Authentication bypass via cross-registry OIDC token replay
- Affected Location:
cmd/publisher/commands/login.go:67-105,130-135,199-224;cmd/publisher/auth/github-oidc.go:24-38,58-75,108-165;internal/api/handlers/v0/auth/github_oidc.go:75-135,229-277,280-296 - Trigger Scenario: a workflow invokes
mcp-publisher login github-oidc --registry <other-registry>(or equivalent publish flow) and the publisher still requests a GitHub Actions ID token with the shared audiencemcp-registry; any other registry deployment running this code can replay that token to its own/v0/auth/github-oidcendpoint and mint a publish-capable registry JWT for the same GitHub owner namespace.
Root Cause
The client-side and server-side GitHub OIDC flow is bound only to a global audience string, not to the specific registry instance being targeted. On the client side, the publisher always appends audience=mcp-registry when requesting the GitHub Actions ID token, regardless of the selected --registry URL. On the server side, the exchange endpoint validates only that same fixed audience and then derives publish permissions directly from repository_owner. As a result, a token legitimately obtained while interacting with one registry deployment remains acceptable to any other deployment that shares the same code and audience string.
Source-to-Sink Chain
- Source
cmd/publisher/commands/login.go:67-105,130-135,199-224 parses the user-controlled --registry flag into flags.RegistryURL, creates a GitHubOIDCProvider, and calls authProvider.GetToken(ctx) for the chosen authentication method.
- Propagation
cmd/publisher/auth/github-oidc.go:24-38 obtains an OIDC token and immediately exchanges it against the selected registry URL. cmd/publisher/auth/github-oidc.go:58-75 builds exchangeURL := o.registryURL + "/v0/auth/github-oidc" and posts the GitHub token to whichever registry instance was selected. cmd/publisher/auth/github-oidc.go:108-165 constructs fullURL := requestURL + "&audience=mcp-registry" and therefore requests the same audience for every registry deployment.
- Sink
internal/api/handlers/v0/auth/github_oidc.go:75-135 validates only the shared audience value passed into ValidateToken. internal/api/handlers/v0/auth/github_oidc.go:254-277 calls h.validator.ValidateToken(ctx, oidcToken, "mcp-registry") and, on success, signs a new registry JWT. internal/api/handlers/v0/auth/github_oidc.go:280-296 converts claims.RepositoryOwner into the publish permission pattern io.github.<owner>/*, which is then embedded into the new registry JWT.
Exploitation Preconditions
- The victim uses the GitHub Actions OIDC publishing path.
- The victim workflow targets another registry deployment first, such as staging, self-hosted infrastructure, or an attacker-controlled registry URL.
- The receiving registry deployment can observe the posted OIDC token and replay it before expiry to another registry deployment running the same shared audience configuration.
Risk
This breaks deployment isolation between registry instances. A token issued for one registry interaction can be replayed across trust boundaries, allowing one deployment to impersonate the same GitHub owner identity on another deployment.
Impact
An attacker-controlled or compromised registry deployment can mint a valid registry JWT on another deployment and inherit publish permissions for the victim GitHub owner namespace. In practical terms, this enables unauthorized publication or update actions for names such as io.github.<owner>/* on the victim registry instance.
Remediation
- Replace the shared audience string with a registry-specific audience, such as a deployment-specific client ID or origin-derived identifier.
- Ensure the publisher requests the audience that matches the exact registry instance it is targeting, and ensure the server validates that same instance-specific value.
- Consider binding the exchange to additional deployment-specific claims so that a token captured by one registry cannot be replayed on another.
- Add regression tests that cover cross-deployment replay attempts between different registry URLs.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
GHSA-95c3-6vvw-4mrq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB