{"id":"CVE-2026-61559","published":"2026-09-15T20:58:41Z","modified":"2026-09-17T16:50:15Z","title":"@zereight/mcp-gitlab Vulnerable to Server-Side Request Forgery","vendor":"zereight","product":"gitlab-mcp","tier":"tail","description":{"text":"`@zereight/mcp-gitlab` is a Model Context Protocol server for GitLab. Starting in version 0.0.1 and prior to version 2.1.27, when the environment variable `ENABLE_DYNAMIC_API_URL=true` is set, the server reads the `X-GitLab-API-URL` HTTP request header and uses it as the base URL for all outbound GitLab API calls made within that request. The server validates that the value is a well-formed URL (`new URL(dynamicApiUrl)`) but applies no allowlist or hostname restriction. The server then attaches the victim's `Private-Token` to every outbound fetch that uses the redirected URL. Any caller who can reach the HTTP transport can set `X-GitLab-API-URL` to an attacker-controlled host. The next GitLab API call the server makes delivers the victim's token to that host. Version 2.1.27 contains a patch.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.6,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00537,"percentile":0.4619,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/zereight/gitlab-mcp/security/advisories/GHSA-2h44-8472-frjj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/zereight/gitlab-mcp/pull/625","tags":["x_refsource_MISC"]},{"url":"https://github.com/zereight/gitlab-mcp/commit/6ffb4cc70706fd05b1ab80901676bc2998b6db6d","tags":["x_refsource_MISC"]},{"url":"https://github.com/zereight/gitlab-mcp/releases/tag/v2.1.27","tags":["x_refsource_MISC"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":9.24},{"name":"CVSS severity","points":6.72}]},"vendorSlug":"zereight","affectedVersions":[{"vendor":"zereight","product":"gitlab-mcp","versions":[">= 0.0.1, < 2.1.27"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-09-17T16:49:44.156114Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@zereight/mcp-gitlab","vulnerableRanges":[">=0.0.1, <2.1.27"],"patched":["2.1.27"],"from":["GHSA-2h44-8472-frjj"],"provenance":"source"}],"summary":{"text":"The flaw is a server-side request forgery in the gitlab-mcp server from zereight (npm package @zereight/mcp-gitlab), a Model Context Protocol server for GitLab, affecting versions from 0.0.1 up to but not including 2.1.27 when ENABLE_DYNAMIC_API_URL=true is set. The server takes the X-GitLab-API-URL request header as the base URL for outbound GitLab API calls without any allowlist or hostname restriction, and attaches the caller's Private-Token to those calls, so any caller able to reach the HTTP transport can direct the victim's token to an attacker-controlled host on the next API request.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:27Z"},"euvd":{"id":"EUVD-2026-80004","exploited":false,"provenance":"source"}}