CyberRota Analysis
AI-GeneratedThe Model Context Protocol server for GitLab is vulnerable due to an authentication bypass in the SSE transport mode, allowing unauthenticated attackers to access sensitive tools and read arbitrary files from the server's filesystem. This vulnerability can lead to the exposure of critical credentials, such as the `GITLAB_PERSONAL_ACCESS_TOKEN`, enabling full account takeover. Organizations using affected versions of GitLab and Docker should prioritize upgrading to version 2.1.27 or later to mitigate this critical risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
`@zereight/mcp-gitlab` is a Model Context Protocol server for GitLab. Prior to version 2.1.27, the SSE transport mode (`SSE=true`) exposes all MCP tools without any authentication. The `upload_markdown` tool reads arbitrary files from the server's local filesystem via an unsanitized `file_path` parameter and uploads them to a GitLab project. Combined, any unauthenticated network-reachable attacker can read `/proc/self/environ` to steal the server's `GITLAB_PERSONAL_ACCESS_TOKEN` and achieve full GitLab account takeover. This is the default configuration for Docker deployments. Version 2.1.27 contains a patch.