Read the docs
TI-2026-44112 Aliases CVE-2026-61560GHSA-cv3r-c5h8-f4g5

Path traversal in zereight gitlab-mcp

Priority HIGH 82CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

`@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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.02901 87th percentileScored 2026-11-07
Fix Fixed gitlab-mcp (zereight): 2.1.27@zereight/mcp-gitlab (npm): 2.1.27

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
zereightgitlab-mcpbefore 2.1.272.1.27Patch availableCNA
—@zereight/mcp-gitlab (npm)before 2.1.272.1.27Patch availableGHSA-cv3r-c5h8-f4g5
  • gitlab-mcp Vendorzereight Affected before 2.1.27 Fixed in 2.1.27 Patch available CNA
  • @zereight/mcp-gitlab (npm) Vendor— Affected before 2.1.27 Fixed in 2.1.27 Patch available GHSA-cv3r-c5h8-f4g5

Remediation

  • Fix · CNA gitlab-mcp (zereight) Fixed in 2.1.27
  • Fix · GHSA-cv3r-c5h8-f4g5 @zereight/mcp-gitlab (npm) Fixed in 2.1.27 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-61560
  2. 2026-10-03 Alias added: GHSA-cv3r-c5h8-f4g5

References

  • TI-2026-44067 mcp-gitlab Path Traversal via job_id Parameter CVSS 4.0CRITICAL 9.2
  • TI-2026-44111 @zereight/mcp-gitlab Vulnerable to Server-Side Request Forgery CVSS 3.1CRITICAL 9.6
  • TI-2026-44113 @zereight/mcp-gitlab: DNS rebinding reaches local Streamable HTTP MCP transport CVSS 3.1CRITICAL 9.6

Sources