{"id":"CVE-2026-61560","published":"2026-09-15T21:09:00Z","modified":"2026-09-16T13:59:32Z","title":"@zereight/mcp-gitlab's unauthenticated arbitrary file read via `upload_markdown` enables PAT exfiltration and full…","vendor":"zereight","product":"gitlab-mcp","tier":"tail","description":{"text":"`@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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02901,"percentile":0.87282,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/zereight/gitlab-mcp/security/advisories/GHSA-cv3r-c5h8-f4g5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/zereight/gitlab-mcp/pull/482","tags":["x_refsource_MISC"]},{"url":"https://github.com/zereight/gitlab-mcp/pull/554","tags":["x_refsource_MISC"]},{"url":"https://github.com/zereight/gitlab-mcp/pull/622","tags":["x_refsource_MISC"]}],"priority":{"score":29.3,"factors":[{"name":"EPSS percentile","points":17.46},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"nuclei":[{"id":"CVE-2026-61560","name":"GitLab MCP Server < 2.1.27 - Unauthenticated SSE Transport Access","severity":"critical","path":"http/cves/2026/CVE-2026-61560.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-61560.yaml"}],"provenance":"source"},"vendorSlug":"zereight","affectedVersions":[{"vendor":"zereight","product":"gitlab-mcp","versions":["< 2.1.27"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-09-16T13:59:23.698471Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@zereight/mcp-gitlab","vulnerableRanges":["<2.1.27"],"patched":["2.1.27"],"from":["GHSA-cv3r-c5h8-f4g5"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-80008","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-zereight-gitlab-mcp-cve-2026-61560","children":[{"from":"CVE-2026-61560","to":"CVE-2026-61568","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@zereight/mcp-gitlab","fromFixed":"2.1.27","toFixed":"2.1.30","daysApart":0},{"kind":"same-code","provenance":"machine","files":["index.ts"],"commits":["https://github.com/zereight/gitlab-mcp/commit/e436ee4ad067b64584ec9312c9e9c9a2641c1976","https://github.com/zereight/gitlab-mcp/commit/52207c6f5c0e7a39e9235d491225edbb562a0290"],"basis":"shared function","functions":["validateConfiguration"]},{"kind":"similar","provenance":"machine","score":0.31,"basis":"same product + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-61559","published":"2026-09-15","fixed":"2.1.27","kev":false},{"cve":"CVE-2026-61560","published":"2026-09-15","fixed":"2.1.27","kev":false},{"cve":"CVE-2026-61568","published":"2026-09-15","fixed":"2.1.30","kev":false}],"package":"npm:@zereight/mcp-gitlab"}}