{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-61559","published":"2026-09-15T21:16:41.390000Z","last_modified":"2026-09-30T17:51:56.193000Z","status":"Deferred","cvss":{"version":"3.1","score":9.6,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-918"],"cpes":[],"cpes_truncated":false,"vendors":["zereight"],"products":["zereight/gitlab-mcp"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-2h44-8472-frjj","ecosystem":"npm","name":"@zereight/mcp-gitlab","purl":"pkg:npm/%40zereight/mcp-gitlab","ranges":[{"introduced":"0.0.1","fixed":"2.1.27"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":58,"links":{"html_es":"/es/cve/CVE-2026-61559/","html_en":"/en/cve/CVE-2026-61559/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-61559","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-61559"},"untrusted":{"vendor_name":"zereight","product_name":"gitlab-mcp","desc_en":"`@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.","affected":[{"untrusted_vendor":"zereight","untrusted_product":"gitlab-mcp","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"45141e2b6fc6cbdb16161fbcf305b54b","generated":"2026-11-26T23:22:37.900510Z","es":{"untrusted_title":"Robo de token de autenticación por redirección de URL no validada en gitlab-mcp","untrusted_summary":"@zereight/mcp-gitlab versiones anteriores a 2.1.27 permiten a usuarios autenticados redirigir las llamadas a la API de GitLab a servidores controlados por atacantes cuando ENABLE_DYNAMIC_API_URL=true. El servidor valida que la URL sea bien formada pero no restringe el dominio, lo que permite que el token privado de la víctima sea enviado a hosts maliciosos."},"en":{"untrusted_title":"Authentication token theft via unvalidated URL redirection in gitlab-mcp","untrusted_summary":"@zereight/mcp-gitlab versions prior to 2.1.27 allow authenticated users to redirect GitLab API calls to attacker-controlled servers when ENABLE_DYNAMIC_API_URL=true. The server validates URL format but does not restrict the hostname, enabling the victim's private token to be sent to malicious hosts."},"remediation":{"status":"fix","fixed_versions":["2.1.27"],"untrusted_action_es":"Actualiza @zereight/mcp-gitlab a versión 2.1.27 o superior, o desactiva ENABLE_DYNAMIC_API_URL si no es necesario.","untrusted_action_en":"Update @zereight/mcp-gitlab to version 2.1.27 or later, or disable ENABLE_DYNAMIC_API_URL if not required.","vendor_url":"https://github.com/zereight/gitlab-mcp/releases/tag/v2.1.27"},"reviewed":false},"references":[{"url":"https://github.com/zereight/gitlab-mcp/commit/6ffb4cc70706fd05b1ab80901676bc2998b6db6d","tags":[]},{"url":"https://github.com/zereight/gitlab-mcp/pull/625","tags":[]},{"url":"https://github.com/zereight/gitlab-mcp/releases/tag/v2.1.27","tags":[]},{"url":"https://github.com/zereight/gitlab-mcp/security/advisories/GHSA-2h44-8472-frjj","tags":[]}]}}