0.0none
MCP Registry: Open Redirect
- Severity
- 0.0none CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.47% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-v8vw-gw5j-w7m6GO-2026-5658
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| modelcontextprotocol registry | >= 1.1.0, < 1.7.5 | CVE List |
| github.com/modelcontextprotocol/registry (Go) | from 1.1.0 before 1.7.5 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 0.0none CVSS:4.0 | 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 |
| GitHub | medium CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
Summary
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.
Details
The 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.
When a request is made with a path like //evil.com/, the middleware processes it as follows:
PoC
- Start the registry server locally or identify a deployed instance
- Send a request with a double-slash path followed by an external domain:
curl -v https://<registry-host>//evil.com/image - Observe the 308 Permanent Redirect response with Location: //evil.com:
- When accessed in a browser, the user is redirected to https://evil.com
Impact
Phishing: Attackers can abuse the trusted registry domain to redirect users to credential-harvesting pages Malware distribution: Redirect users to sites serving malicious downloads Trust abuse: Links originating from the official MCP Registry domain carry implicit trust
Go Vulnerability Database
MCP Registry has open redirect via protocol-relative path in trailing-slash middleware in github.com/modelcontextprotocol/registry
NVD (es)
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-44427 changed 2026-05-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-v8vw-gw5j-w7m6 changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-5658 changed 2026-06-25 | CC-BY-4.0 |
| NVD | CVE-2026-44427 changed 2026-10-26 | Public domain |