Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/modelcontextprotocol/registry
  4. ›
  5. CVE-2026-44427

CVE-2026-44427: MCP Registry has open redirect via protocol-relative path in trailing-slash middleware

May 8, 2026

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.

References

  • github.com/advisories/GHSA-v8vw-gw5j-w7m6
  • github.com/modelcontextprotocol/registry
  • github.com/modelcontextprotocol/registry/commit/1201cbd82b2cf6d4b56edfc05c763059a12f9fdb
  • github.com/modelcontextprotocol/registry/pull/1227
  • github.com/modelcontextprotocol/registry/releases/tag/v1.7.5
  • github.com/modelcontextprotocol/registry/security/advisories/GHSA-v8vw-gw5j-w7m6
  • nvd.nist.gov/vuln/detail/CVE-2026-44427

Code Behaviors & Features

Detect and mitigate CVE-2026-44427 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.1.0 before 1.7.5

Fixed versions

  • 1.7.5

Solution

Upgrade to version 1.7.5 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

go/github.com/modelcontextprotocol/registry/CVE-2026-44427.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 00:20:24 +0000.