Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-61560

CRITICAL 9.8EPSS 88%

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

Also known as GHSA-cv3r-c5h8-f4g5

Mitigation

  • Upgrade @zereight/mcp-gitlab to 2.1.27 or later.

Who should check

  • Projects that depend on npm package @zereight/mcp-gitlab (< 2.1.27)
  • Anyone running zereight gitlab-mcp < 2.1.27

Vulnerability facts

Affected
@zereight/mcp-gitlab < 2.1.27
Fixed in
2.1.27
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
2.90% chance of exploitation in 30 days (percentile 88, 2026-11-26)
CWE
CWE-22
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
npm @zereight/mcp-gitlab< 2.1.272.1.27osv
zereight gitlab-mcp< 2.1.27—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-61560. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-61560.md
Affected: @zereight/mcp-gitlab < 2.1.27
Fixed in: 2.1.27

Steps:
1. Search this machine and project for @zereight/mcp-gitlab (npm), zereight gitlab-mcp: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-61560 being exploited?

There is no confirmed exploitation: CVE-2026-61560 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.90% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-61560?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-61560?

@zereight/mcp-gitlab < 2.1.27.

Is there a fix for CVE-2026-61560?

Yes. Fixed in 2.1.27. Upgrade @zereight/mcp-gitlab to 2.1.27 or later.

How do I check if I'm affected by CVE-2026-61560?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors