Intel

AIKIDO-2026-344116

@zereight/mcp-gitlab is vulnerable to DNS Rebinding

DNS RebindingCVE-2026-61568 Published Jul 30, 2026

96

Critical Risk

This Affects:

JS@zereight/mcp-gitlab
0.0.1 - 2.1.29
Fixed in 2.1.30
Are you affected? Scan for Free

TL;DR

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.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you expose the Streamable HTTP MCP transport.

Background info

@zereight/mcp-gitlab is vulnerable to DNS Rebinding in versions 0.0.1 - 2.1.29.

How to fix this

Upgrade the @zereight/mcp-gitlab library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform