{"answers":{"affected":"2 open source packages ship an affected version, including @zereight/mcp-gitlab.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-61559 exists.","fix":"Upgrade @zereight/mcp-gitlab to 2.1.27 or later.","what":"CVE-2026-61559 is a critical server-side request forgery vulnerability in zereight gitlab-mcp, published on 15 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-61559 and fix it if it is affected.\n\nWhat it is: CVE-2026-61559 is a critical server-side request forgery vulnerability in zereight gitlab-mcp, published on 15 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-61559 exists.\n\nAffected packages and fixed versions:\n- @zereight/mcp-gitlab (npm): affected from 0.0.1; fixed in 2.1.27\n- @zereight/mcp-gitlab (npm): affected from 0.0.1; fixed in 2.1.27\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-61559/ (Markdown: https://insights.sbomify.com/CVE-2026-61559/index.md)","id":"CVE-2026-61559","markdown":"https://insights.sbomify.com/CVE-2026-61559/index.md","name":"CVE-2026-61559","record":{"aliases":["GHSA-2h44-8472-frjj"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"GitLab MCP server","requires_auth":"low_privilege","summary":"Attackers can redirect API calls to malicious hosts via a header, stealing victim tokens when dynamic API URL is enabled.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.6,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"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 (`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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"@zereight/mcp-gitlab Vulnerable to Server-Side Request Forgery","id":"CVE-2026-61559","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"@zereight/mcp-gitlab: Unauthenticated arbitrary file read via `upload_markdown` enables PAT exfiltration and full account takeover","id":"CVE-2026-61560"},"packages":[{"ecosystem":"npm","fixed":["2.1.27"],"introduced":["0.0.1"],"last_affected":[],"package":"@zereight/mcp-gitlab","purl":null,"source":"GHSA-2h44-8472-frjj"},{"ecosystem":"npm","fixed":["2.1.27"],"introduced":["0.0.1"],"last_affected":[],"package":"@zereight/mcp-gitlab","purl":"pkg:npm/%40zereight/mcp-gitlab","source":"GHSA-2h44-8472-frjj"}],"prev":{"headline":"LiquidJS: An infinite loop vulnerability in `strip_html` filter","id":"CVE-2026-61556"},"products":["gitlab-mcp"],"published":"2026-09-15","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-17","vendors":["zereight"]},"summary":"Attackers can redirect API calls to malicious hosts via a header, stealing victim tokens when dynamic API URL is enabled.","url":"https://insights.sbomify.com/CVE-2026-61559/"}