@zereight/mcp-gitlab is vulnerable to DNS Rebinding
96
Critical Risk
The Streamable HTTP MCP transport is created without a Host or Origin allowlist and without the SDK DNS-rebinding protection, and the server binds loopback by default. A malicious web page can use DNS rebinding to route a victim browser's requests to the local MCP listener while presenting an attacker-controlled Host and Origin, which the server accepts and processes at the MCP initialization path instead of rejecting at the HTTP boundary. When a GitLab token is present in the session, tool discovery and GitLab API tool calls execute through the forged-origin path and can return sensitive project data such as CI/CD variables. The fix enables DNS-rebinding protection with Host and Origin allowlists on the transport.
You are affected if you are using a version that falls within the vulnerable range and you expose the Streamable HTTP MCP transport.
@zereight/mcp-gitlab is vulnerable to DNS Rebinding in versions 0.0.1 - 2.1.29.
Upgrade the @zereight/mcp-gitlab library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant