{"id":"CVE-2026-44427","aliases":["CVE-2026-44427","GHSA-v8vw-gw5j-w7m6","GO-2026-5658"],"related":[],"kind":"vulnerability","state":"published","title":"MCP Registry: Open Redirect","summary":"The MCP Registry provides MCP clients with a list of MCP servers, like an app store for MCP servers. From 1.1.0 to 1.7.4, the TrailingSlashMiddleware in internal/api/server.go is vulnerable to an open redirect attack. An attacker can craft a URL with a protocol-relative path (e.g., //evil.com/) that, after trailing slash removal, results in a Location header of //evil.com — which browsers interpret as an absolute URL to an external domain. This vulnerability is fixed in 1.7.5.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The MCP Registry provides MCP clients with a list of MCP servers, like an app store for MCP servers. From 1.1.0 to 1.7.4, the TrailingSlashMiddleware in internal/api/server.go is vulnerable to an open redirect attack. An attacker can craft a URL with a protocol-relative path (e.g., //evil.com/) that, after trailing slash removal, results in a Location header of //evil.com — which browsers interpret as an absolute URL to an external domain. This vulnerability is fixed in 1.7.5.","source":"cvelist"},{"lang":"en","text":"### Summary\nThe TrailingSlashMiddleware in internal/api/server.go is vulnerable to an open redirect attack. An attacker can craft a URL with a protocol-relative path (e.g., //evil.com/) that, after trailing slash removal, results in a Location header of //evil.com — which browsers interpret as an absolute URL to an external domain.\n\n### Details\nThe TrailingSlashMiddleware strips trailing slashes from request paths and issues a 308 Permanent Redirect to the cleaned path. However, it does not validate or sanitize the resulting path before using it as the redirect target.\n\nWhen a request is made with a path like //evil.com/, the middleware processes it as follows:\n\n### PoC\n1. Start the registry server locally or identify a deployed instance\n2. Send a request with a double-slash path followed by an external domain:\n`curl -v https://<registry-host>//evil.com/`\n<img width=\"3066\" height=\"969\" alt=\"image\" src=\"https://github.com/user-attachments/assets/a5305f00-29bf-4708-952a-478d608f2074\" />\n3. Observe the 308 Permanent Redirect response with Location: //evil.com:\n4. When accessed in a browser, the user is redirected to https://evil.com\n\n\n\n### Impact\n**Phishing**: Attackers can abuse the trusted registry domain to redirect users to credential-harvesting pages\n**Malware distribution**: Redirect users to sites serving malicious downloads\n**Trust abuse:** Links originating from the official MCP Registry domain carry implicit trust","format":"markdown","source":"ghsa"},{"lang":"en","text":"MCP Registry has open redirect via protocol-relative path in trailing-slash middleware in github.com/modelcontextprotocol/registry","format":"markdown","source":"go"},{"lang":"es","text":"El Registro MCP proporciona a los clientes MCP una lista de servidores MCP, como una tienda de aplicaciones para servidores MCP. Desde la 1.1.0 hasta la 1.7.4, el TrailingSlashMiddleware en internal/API/server.go es vulnerable a un ataque de redirección abierta. Un atacante puede crear una URL con una ruta relativa al protocolo (p. ej., //evil.com/) que, después de la eliminación de la barra final, resulta en un encabezado Location de //evil.com - que los navegadores interpretan como una URL absoluta a un dominio externo. Esta vulnerabilidad está corregida en la 1.7.5.","source":"nvd"}],"published":"2026-05-08T17:02:12.000Z","modified":"2026-10-26T14:10:00.130Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N","score":0,"rating":"NONE"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N","score":0,"rating":"NONE"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P","rating":"MEDIUM"}],"cwes":["CWE-601"],"affected":[{"ranges":[{"version":">= 1.1.0, < 1.7.5","status":"affected"}],"vendor":"modelcontextprotocol","product":"registry","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.1.0","status":"affected","fixed":"1.7.5"}],"ecosystem":"Go","package":"github.com/modelcontextprotocol/registry","purl":"pkg:golang/github.com/modelcontextprotocol/registry","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.1.0","status":"affected","fixed":"1.7.5"}],"ecosystem":"Go","package":"github.com/modelcontextprotocol/registry","purl":"pkg:golang/github.com/modelcontextprotocol/registry","source":"go"}],"references":[{"url":"https://github.com/modelcontextprotocol/registry/security/advisories/GHSA-v8vw-gw5j-w7m6","tags":["advisory","exploit","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44427","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/modelcontextprotocol/registry/pull/1227","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/modelcontextprotocol/registry/commit/1201cbd82b2cf6d4b56edfc05c763059a12f9fdb","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/modelcontextprotocol/registry","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/modelcontextprotocol/registry/releases/tag/v1.7.5","tags":["web"],"sources":["ghsa","go"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-05-15T13:33:12.968Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-44427","url":"https://www.cve.org/CVERecord?id=CVE-2026-44427","licence":"CVE Terms of Use","modified":"2026-05-15T13:33:16.949Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v8vw-gw5j-w7m6","url":"https://github.com/advisories/GHSA-v8vw-gw5j-w7m6","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:47.559Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5658","url":"https://pkg.go.dev/vuln/GO-2026-5658","licence":"CC-BY-4.0","modified":"2026-06-25T23:01:38.745Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-44427","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44427","licence":"Public domain","modified":"2026-10-26T14:10:00.130Z"}],"updatedAt":"2026-11-25T22:59:21.792Z","epss":{"score":0.0047,"percentile":0.4228,"date":"2026-12-01T12:00:22.000Z"}}