gitlab-mcp (zereight) DNS Rebinding Allows Unauthorized Access to Local MCP Listener

Release Date: 15th September 2026 (Added 16 September 2026)

Impact : CRITICAL

TLP Rating: Clear

The Department of Communications and Digital Transformation (DCDT) through CERT Vanuatu (CERTVU), provides the following advisory.

This alert is relevant to Organizations and System/Network administrators, and development teams, that run the gitlab-mcp server (also published as @zereight/mcp-gitlab) to connect AI coding assistants to a GitLab instance. This alert is intended to be understood by technical users and systems administrators.

What is it?

CVE-2026-61568 is a critical vulnerability in gitlab-mcp, the same popular open-source Model Context Protocol (MCP) server (over 1,900 GitHub stars) covered by CERTVU Advisory 318, which is distinct from and disclosed separately from that advisory's CVE-2026-61559. This flaw is a DNS rebinding weakness: because the local MCP listener's initialization path relies on Host/Origin header checks rather than genuine network-origin verification, a malicious webpage visited by a victim can use a DNS rebinding technique to make the victim's browser send requests that appear to carry an attacker-controlled Host and Origin, while actually being routed to the victim's local gitlab-mcp listener, letting the attacker's webpage reach the MCP initialization path without authorization.

Reference

  1. https://www.cve.org/CVERecord?id=CVE-2026-61568
  2. https://github.com/zereight/gitlab-mcp/security/advisories/GHSA-vmp7-252j-cwp7