Intel

AIKIDO-2026-344116

@zereight/mcp-gitlab is vulnerable to DNS Rebinding

CVE-2026-61568Published Jul 30, 2026
July 30, 2026

96

CVE Score

Critical

DNS Rebinding

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.

How do I fix this?

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

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.

Versions

0.0.1 - 2.1.29

Fixed in 2.1.30

Background info

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

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea