Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-61560— @zereight/mcp-gitlab's unauthenticated arbitrary file read via `upload_markdown` enables PAT exfiltration and full account takeover

Quick assessment

Affected
zereight gitlab-mcp
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

是一个用于 GitLab 的 Model Context Protocol(MCP)服务器。在 2.1.27 版本之前,当启用 SSE 传输模式( )时,所有 MCP 工具均在无任何身份验证的情况下对外暴露。其中, 工具通过一个未经净化的 参数,从服务器本地文件系统中读取任意文件,并将其上传到 GitLab 项目。 结合来看,任何能够访问网络且未认证的攻击者都可以通过读取 来获取服务器的 ,从而实现完整的 GitLab 账户接管(账户被完全控制)。对于 Docker 部署而言,这是默认配置。 该漏洞已在 2.1.2

CVSS 9.8 · Critical
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-61560

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
@zereight/mcp-gitlab's unauthenticated arbitrary file read via `upload_markdown` enables PAT exfiltration and full account takeover
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
zereight gitlab-mcp < 2.1.27 -

II. Public POCs for CVE-2026-61560

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-61560

登录查看更多情报信息。

Patches & Fixes for CVE-2026-61560 (2)

Vendor Advisories for CVE-2026-61560 (1)

Same Patch Batch · zereight · 2026-09-15 · 3 CVEs total

CVE-2026-61568 9.6 CRITICAL @zereight/mcp-gitlab: DNS rebinding reaches local Streamable HTTP MCP transport
CVE-2026-61559 9.6 CRITICAL @zereight/mcp-gitlab Vulnerable to Server-Side Request Forgery

IV. Related Vulnerabilities

V. Comments for CVE-2026-61560

No comments yet


Leave a comment