Black Friday60% off BLACKFRIDAY2026
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
critical·Product Based Web Vulnerabilities·Updated Nov 9, 2026

CVE-2026-61560 Scanner

CVE-2026-61560 Scanner - Unauthenticated File Read vulnerability in GitLab MCP Server

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, subdomain, ipv4
CostFree
4
Times Used
continuous scan runs
4.2k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
9.8
CVSScritical
Exploitable remotely over the internet · no authentication required.
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.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
gitlab-mcpby zereight
< 2.1.27
Updated Nov 6, 2026View on NVD →
Detail

The GitLab MCP Server is used in environments leveraging the GitLab tool for managing code repositories and development workflows. It is commonly deployed by development teams and organizations to facilitate better code management and collaboration. This server acts as a middleware, offering additional features such as continuous integration and delivery, making it crucial for efficient software development processes. Organizations using the server can automate significant portions of their development lifecycle. The GitLab MCP Server is particularly effective in high-collaborative settings where multiple teams work on large projects. It integrates seamlessly with various tools and platforms, enhancing the overall software development pipeline.

The vulnerability detected in the GitLab MCP Server involves unauthenticated access to its SSE transport endpoints. This flaw allows an attacker to establish a session without proper authentication controls. Once the unauthorized session is established, any registered MCP tool can be invoked by the attacker. The exploit centers around reading arbitrary files on the server's filesystem. Such vulnerabilities highlight the importance of stringent authentication mechanisms in software deployments.

The technical details of the vulnerability reveal that the GitLab MCP Server's SSE transport endpoints are not adequately secured. When SSE mode is enabled, these endpoints become accessible without authentication. The critical vulnerability relates to the 'file_path' parameter, which is unsanitized, allowing attackers to read local files. The attacker can specifically target sensitive files, such as configuration files containing tokens or credentials. This can lead to unauthorized access or a complete takeover of the GitLab account, posing significant security risks.

When exploited by malicious actors, the vulnerability could lead to severe consequences. Attackers may read sensitive configurations and credentials, facilitating unauthorized access to account data. This could result in a full breach of the GitLab account, allowing attackers to manipulate repositories or steal sensitive development information. Furthermore, compromising such an account can lead to a cascade of vulnerabilities within the organization's development pipeline. The lack of file access controls and secured endpoint authentication compounds the potential impact of this vulnerability.

REFERENCES

Solution Advice
  • Update to the latest version of @zereight/mcp-gitlab, specifically version 2.1.27 or later.
  • Enable and configure authentication mechanisms, such as setting the SSE_AUTH_TOKEN as recommended.
  • Ensure that the service is bound to a loopback address to prevent unauthorized network access.
  • Regularly audit and review access logs for any unauthorized activities.
  • Implement additional network security measures, such as firewall rules and access control lists, to restrict exposure.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

12,000+ scanners. Free to start. No credit card required.