---
title: "CVE-2026-61560: @zereight/mcp-gitlab: Unauthenticated arbitrary file read via `upload_markdown` enables PAT exfiltration and full account takeover"
url: https://erroneo.us/security/cve/CVE-2026-61560/
description: "CVE-2026-61560 (@zereight/mcp-gitlab (npm)): @zereight/mcp-gitlab is a Model Context Protocol server for GitLab. Prior to version 2.1.27, the SSE transport…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-09-15
date_modified: 2026-09-16
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-61560"
kev: false
cvss: 9.8
epss: 0.02901
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-61560: @zereight/mcp-gitlab: Unauthenticated arbitrary file read via `upload_markdown` enables PAT exfiltration and full account takeover

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 2.9% , percentile 87: FIRST’s model estimates a 2.9% chance of exploitation activity in the next 30 days, higher than 87% of all scored CVEs (elevated). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes @zereight/mcp-gitlab (npm) < 2.1.27, fixed in 2.1.27 . Check your lockfile, including transitive dependencies.

## What it is

@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 uploadmarkdown tool reads arbitrary files from the server's local filesystem via an unsanitized filepath parameter and uploads them to a GitLab project. Combined, any unauthenticated network-reachable attacker can read /proc/self/environ to steal the server's GITLABPERSONALACCESSTOKEN and achieve full GitLab account takeover. This is the default configuration for Docker deployments. Version 2.1.27 contains a patch.

## Affected packages

- npm `@zereight/mcp-gitlab` < 2.1.27 → fixed: 2.1.27

## Affected products (CVE record)

- zereight gitlab-mcp: < 2.1.27

## Severity

- GitHub_M CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 2.90% probability of exploitation activity in the next 30 days; percentile 87.

## Sources

- [GitHub Advisory GHSA-cv3r-c5h8-f4g5](https://github.com/advisories/GHSA-cv3r-c5h8-f4g5)
- [CVE.org record CVE-2026-61560](https://www.cve.org/CVERecord?id=CVE-2026-61560)
- [NVD entry CVE-2026-61560](https://nvd.nist.gov/vuln/detail/CVE-2026-61560)
- [github.com](https://github.com/zereight/gitlab-mcp/security/advisories/GHSA-cv3r-c5h8-f4g5)
- [github.com](https://github.com/zereight/gitlab-mcp/pull/482)
- [github.com](https://github.com/zereight/gitlab-mcp/pull/554)
- [github.com](https://github.com/zereight/gitlab-mcp/pull/622)
- [github.com](https://github.com/zereight/gitlab-mcp/commit/e436ee4ad067b64584ec9312c9e9c9a2641c1976)
- [github.com](https://github.com/zereight/gitlab-mcp/releases/tag/v2.1.27)

---
Source page: https://erroneo.us/security/cve/CVE-2026-61560/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
