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

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.16%, higher than 88% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-15T21:09:00.405Z
- Modified: 2026-09-30T17:51:56.193Z
- Also known as: GHSA-cv3r-c5h8-f4g5
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- zereight gitlab-mcp: < 2.1.27
- @zereight/mcp-gitlab (npm): before 2.1.27

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `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 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/zereight/gitlab-mcp/security/advisories/GHSA-cv3r-c5h8-f4g5> (exploit, web)
- <https://github.com/zereight/gitlab-mcp/pull/482> (web)
- <https://github.com/zereight/gitlab-mcp/pull/554> (web)
- <https://github.com/zereight/gitlab-mcp/pull/622> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-61560> (advisory)
- <https://github.com/zereight/gitlab-mcp/commit/e436ee4ad067b64584ec9312c9e9c9a2641c1976> (web)
- <https://github.com/zereight/gitlab-mcp> (package)
- <https://github.com/zereight/gitlab-mcp/releases/tag/v2.1.27> (web)

## Sources

- CVE List: [CVE-2026-61560](https://www.cve.org/CVERecord?id=CVE-2026-61560), CVE Terms of Use, modified 2026-09-16
- GitHub Advisory Database: [GHSA-cv3r-c5h8-f4g5](https://github.com/advisories/GHSA-cv3r-c5h8-f4g5), CC-BY-4.0, modified 2026-09-16
- NVD: [CVE-2026-61560](https://nvd.nist.gov/vuln/detail/CVE-2026-61560), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-61560 · Whole record: https://cve.day/CVE-2026-61560.json · Rebuilt by cve.day 2026-11-25T22:59:38.872Z
