{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-61559","id":"CVE-2026-61559","title":"@zereight/mcp-gitlab Vulnerable to Server-Side Request Forgery","description":"`@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 (`","descriptionLong":"`@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.","published":"2026-09-15T20:58:41.639Z","updated":"2026-10-28T02:30:32.734692984Z","reserved":"2026-07-10T16:48:39.923Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"github.com"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"OSV"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"GitHub"}],"rating":"critical","products":["zereight gitlab-mcp"],"affectedProducts":[{"vendor":"zereight","product":"gitlab-mcp","defaultStatus":null,"versions":[{"version":">= 0.0.1, < 2.1.27","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@zereight/mcp-gitlab","purl":"pkg:npm/%40zereight/mcp-gitlab","ranges":[">=0.0.1 <2.1.27"],"fixed":["2.1.27"],"advisory":"GHSA-2h44-8472-frjj"}],"cwes":["CWE-918"],"aliases":["GHSA-2h44-8472-frjj"],"references":[{"url":"https://github.com/zereight/gitlab-mcp/security/advisories/GHSA-2h44-8472-frjj","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/zereight/gitlab-mcp/pull/625","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/zereight/gitlab-mcp/commit/6ffb4cc70706fd05b1ab80901676bc2998b6db6d","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/zereight/gitlab-mcp/releases/tag/v2.1.27","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61559.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61559","tags":["advisory"]},{"url":"https://github.com/zereight/gitlab-mcp","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00537,"epssPercentile":0.46053,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-61559","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61559","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-61559","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2h44-8472-frjj","ok":true,"note":"GHSA-2h44-8472-frjj"},{"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-61559","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["gitlab"],"critical":["CVSS 9.6 in a widely used technology"],"attention":null}