CVE-2026-45781 PUBLISHED

MCP Registry: OCI ownership validation fails open on upstream rate limits, allowing attacker-controlled package claims

Assigner: GitHub_M
Reserved: 13.05.2026 Published: 14.05.2026 Updated: 14.05.2026

The MCP Registry provides MCP clients with a list of MCP servers, like an app store for MCP servers. Prior to 1.7.9, OCI ownership validation skips label-match check when upstream OCI registry returns HTTP 429, letting any authenticated publisher bind their io.github.<user>/* namespace to OCI images they do not control. internal/validators/registries/oci.go:104-119 fails open on http.StatusTooManyRequests: when the registry's anonymous fetch to the upstream OCI registry is rate-limited, ValidateOCI returns nil and the publish is accepted without ever running the io.modelcontextprotocol.server.name label-match check at lines 122-141. That label check is the only cross-system ownership proof the registry applies to OCI packages — every other registry type (NPM, PyPI, NuGet, MCPB) treats a non-200 upstream response as a hard error. This vulnerability is fixed in 1.7.9.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
CVSS Score: 3.5

Product Status

Vendor modelcontextprotocol
Product registry
Versions
  • Version < 1.7.9 is affected

References

Problem Types

  • CWE-636: Not Failing Securely ('Failing Open') CWE