CVE-2026-61560
CRITICAL 9.8CVSS 3.1@zereight/mcp-gitlab: Unauthenticated arbitrary file read via `upload_markdown` enables PAT exfiltration and full account takeover
@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.
- Published
- 15 Sep 2026
- Last modified
- 30 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22
- Also known as
- GHSA-cv3r-c5h8-f4g5
- Sources
- NVDJSONOSV GHSA-cv3r-c5h8-f4g5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @zereight/mcp-gitlab | < 2.1.27 | 2.1.27 |
References
- https://github.com/zereight/gitlab-mcp/pull/482 · WEB
- https://github.com/zereight/gitlab-mcp/pull/554 · WEB
- https://github.com/zereight/gitlab-mcp/pull/622 · WEB
- https://github.com/zereight/gitlab-mcp/security/advisories/GHSA-cv3r-c5h8-f4g5 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-61560 · ADVISORY
- https://github.com/zereight/gitlab-mcp/commit/e436ee4ad067b64584ec9312c9e9c9a2641c1976 · WEB
- https://github.com/zereight/gitlab-mcp · PACKAGE
- https://github.com/zereight/gitlab-mcp/releases/tag/v2.1.27 · WEB
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 15 Sep 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Sep 2026)