{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-61560","id":"CVE-2026-61560","title":"@zereight/mcp-gitlab's unauthenticated arbitrary file read via `upload_markdown` enables PAT exfiltration and full account takeover","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","descriptionLong":"`@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.","published":"2026-09-15T21:09:00.405Z","updated":"2026-10-28T02:31:11.050904006Z","reserved":"2026-07-10T16:48:39.923Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["zereight gitlab-mcp"],"affectedProducts":[{"vendor":"zereight","product":"gitlab-mcp","defaultStatus":null,"versions":[{"version":"< 2.1.27","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@zereight/mcp-gitlab","purl":"pkg:npm/%40zereight/mcp-gitlab","ranges":["<2.1.27"],"fixed":["2.1.27"],"advisory":"GHSA-cv3r-c5h8-f4g5"}],"cwes":["CWE-22"],"aliases":["GHSA-cv3r-c5h8-f4g5"],"references":[{"url":"https://github.com/zereight/gitlab-mcp/security/advisories/GHSA-cv3r-c5h8-f4g5","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/zereight/gitlab-mcp/pull/482","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/zereight/gitlab-mcp/pull/554","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/zereight/gitlab-mcp/pull/622","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61560.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61560","tags":["advisory"]},{"url":"https://github.com/zereight/gitlab-mcp/commit/e436ee4ad067b64584ec9312c9e9c9a2641c1976","tags":["web"]},{"url":"https://github.com/zereight/gitlab-mcp","tags":["package"]},{"url":"https://github.com/zereight/gitlab-mcp/releases/tag/v2.1.27","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.02901,"epssPercentile":0.87243,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-61560","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61560","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-61560","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-cv3r-c5h8-f4g5","ok":true,"note":"GHSA-cv3r-c5h8-f4g5"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-61560","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["gitlab"],"critical":["CVSS 9.8 in a widely used technology"],"attention":null}