Summary
[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-224parses the user-controlled--registryflag intoflags.RegistryURL, creates aGitHubOIDCProvider, and callsauthProvider.GetToken(ctx)for the chosen authentication method. - Propagation
cmd/publisher/auth/github-oidc.go:24-38obtains an OIDC token and immediately exchanges it against the selected registry URL.cmd/publisher/auth/github-oidc.go:58-75buildsexchangeURL := o.registryURL + "/v0/auth/github-oidc"and posts the GitHub token to whichever registry instance was selected.cmd/publisher/auth/github-oidc.go:108-165constructsfullURL := requestURL + "&audience=mcp-registry"and therefore requests the same audience for every registry deployment. - Sink
internal/api/handlers/v0/auth/github_oidc.go:75-135validates only the shared audience value passed intoValidateToken.internal/api/handlers/v0/auth/github_oidc.go:254-277callsh.validator.ValidateToken(ctx, oidcToken, "mcp-registry")and, on success, signs a new registry JWT.internal/api/handlers/v0/auth/github_oidc.go:280-296convertsclaims.RepositoryOwnerinto the publish permission patternio.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.
Untrusted input controls the target URL of a server-initiated request, which may reach internal services not otherwise accessible from outside. Typical impact: access to internal metadata services, internal APIs, or cloud credentials.
CVE-2026-44428 has a CVSS score of 4.7 (Low). The vector is network-reachable, no privileges required, and user interaction required. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (1.7.6); upgrading removes the vulnerable code path.
Affected versions
Security releases
Kodem intelligence
Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.
Remediation advice
- 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.
Frequently Asked Questions
- What is CVE-2026-44428? CVE-2026-44428 is a low-severity server-side request forgery (SSRF) vulnerability in github.com/modelcontextprotocol/registry (go), affecting versions < 1.7.6. It is fixed in 1.7.6. Untrusted input controls the target URL of a server-initiated request, which may reach internal services not otherwise accessible from outside.
- How severe is CVE-2026-44428? CVE-2026-44428 has a CVSS score of 4.7 (Low). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
- Which versions of github.com/modelcontextprotocol/registry are affected by CVE-2026-44428? github.com/modelcontextprotocol/registry (go) versions < 1.7.6 is affected.
- Is there a fix for CVE-2026-44428? Yes. CVE-2026-44428 is fixed in 1.7.6. Upgrade to this version or later.
- Is CVE-2026-44428 exploitable, and should I be worried? Whether CVE-2026-44428 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
- What actually determines whether CVE-2026-44428 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
- How do I fix CVE-2026-44428? Upgrade
github.com/modelcontextprotocol/registryto 1.7.6 or later.