CVE-2026-61560
`@zereight/mcp-gitlab` is a Model Context Protocol server for …
`@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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/zereight/gitlab-mcp/pull/482
- github.com/zereight/gitlab-mcp/pull/554
- github.com/zereight/gitlab-mcp/pull/622
- github.com/zereight/gitlab-mcp/security/advisories/GHSA-cv3r-c5h8-f4g5
- nvd.nist.gov/vuln/detail/CVE-2026-61560
- github.com/zereight/gitlab-mcp/commit/e436ee4ad067b64584ec9312c9e9c9a2641c1976
- github.com/zereight/gitlab-mcp/releases/tag/v2.1.27
- github.com/advisories/GHSA-cv3r-c5h8-f4g5
- nvd.nist.gov/vuln/detail/CVE-2026-61560
- cve.org/CVERecord?id=CVE-2026-61560
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.