PT-2026-39261 · Unknown · Mcp Registry
Gujasec
·
Published
2026-05-08
·
Updated
2026-05-15
·
CVE-2026-44427
CVSS v4.0
5.6
Medium
| Vector | AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P |
Name of the Vulnerable Software and Affected Versions
MCP Registry versions 1.1.0 through 1.7.4
Description
The TrailingSlashMiddleware in
internal/api/server.go is susceptible to an open redirect. This occurs because the middleware strips trailing slashes from request paths and issues a 308 Permanent Redirect to the cleaned path without validating or sanitizing the resulting path. An attacker can craft a URL using a protocol-relative path (e.g., //evil.com/), which results in a Location header of //evil.com that browsers interpret as an absolute URL to an external domain. This can be leveraged for phishing, malware distribution, and abusing the trust of the official domain.Recommendations
Update to version 1.7.5.
Exploit
Fix
Open Redirect
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Mcp Registry