CVE-2026-61560 @zereight/mcp-gitlab's unauthenticated arbitrary file read via `upload_markdown` enables PAT exfiltration and full account takeover
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- Docker
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| zereight @zereight/mcp-gitlab(npm) | < 2.1.27 | 2.1.27 | Fixed |
| zereight gitlab-mcp | = < 2.1.27 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| zereight gitlab-mcp | = < 2.1.27 | No fix listed |
| zereight @zereight/mcp-gitlab(npm) | < 2.1.27 | 2.1.27 |
References
- https://github.com/zereight/gitlab-mcp/security/advisories/GHSA-cv3r-c5h8-f4g5 exploit vendor-advisory
- https://github.com/zereight/gitlab-mcp/pull/482 patch
- https://github.com/zereight/gitlab-mcp/pull/554 patch
- https://github.com/zereight/gitlab-mcp/pull/622 patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com
- github.com
- github.com product
- ENISA EUVD EUVD-2026-80008 third-party-advisory