CVE-2026-61560 Details
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.
A vulnerability in `@zereight/mcp-gitlab` versions prior to 2.1.27 allows for unauthenticated access to all Model Context Protocol (MCP) tools when the Server-Sent Events (SSE) transport mode is enabled. The `upload_markdown` tool can be exploited to read arbitrary files from the server's filesystem through an unsanitized `file_path` parameter and upload them to a GitLab project. This exploitation enables an attacker to access the `/proc/self/environ` file, which contains sensitive information including the GitLab Personal Access Token (PAT). With the stolen PAT, an attacker can take over the GitLab account completely. This vulnerability is particularly concerning as it is the default configuration for Docker deployments.
Users can update to version 2.1.27 or later, and ensure that the `SSE_AUTH_TOKEN` is set to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 15, 2026CISA-ADP
Assessed Sep 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/zereight/gitlab-mcp/security/advisories/GHSA-cv3r-c5h8-f4g5 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/zereight/gitlab-mcp/pull/482 | [email protected] | Issue TrackingVendor |
| https://github.com/zereight/gitlab-mcp/pull/554 | [email protected] | Issue TrackingVendor |
| https://github.com/zereight/gitlab-mcp/pull/622 | [email protected] | Issue TrackingVendor |
| https://github.com/zereight/gitlab-mcp/security/advisories/GHSA-cv3r-c5h8-f4g5 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| @zereight/mcp-gitlab | < 2.1.27 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 16, 2026 | CVE Modified | CISA-ADP |
| Sep 15, 2026 | New CVE Received | [email protected] |
Volerion