{"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-61560 exists.","fix":"Upgrade @zereight/mcp-gitlab to 2.1.27 or later.","what":"CVE-2026-61560 is a critical path traversal vulnerability in zereight gitlab-mcp, published on 15 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-61560 and fix it if it is affected.\n\nWhat it is: CVE-2026-61560 is a critical path traversal vulnerability in zereight gitlab-mcp, published on 15 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-61560 exists.\n\nAffected packages and fixed versions:\n- @zereight/mcp-gitlab (npm): affected all versions; fixed in 2.1.27\n- @zereight/mcp-gitlab (npm): affected all versions; 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-61560/ (Markdown: https://insights.sbomify.com/CVE-2026-61560/index.md)","id":"CVE-2026-61560","markdown":"https://insights.sbomify.com/CVE-2026-61560/index.md","name":"CVE-2026-61560","record":{"aliases":["GHSA-cv3r-c5h8-f4g5"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"GitLab MCP server","requires_auth":"none","summary":"Unauthenticated attackers can read arbitrary files to steal GitLab tokens and take over accounts via the upload_markdown tool in the MCP server.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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 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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2026/CVE-2026-61560.yaml","stars":null,"title":"GitLab MCP Server \u003c 2.1.27 - Unauthenticated SSE Transport Access"}],"tier":"weaponised"},"has_fix":true,"headline":"@zereight/mcp-gitlab: Unauthenticated arbitrary file read via `upload_markdown` enables PAT exfiltration and full account takeover","id":"CVE-2026-61560","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"AVideo-Encoder: unauthenticated installer PHP code injection","id":"CVE-2026-61564"},"packages":[{"ecosystem":"npm","fixed":["2.1.27"],"introduced":["0"],"last_affected":[],"package":"@zereight/mcp-gitlab","purl":null,"source":"GHSA-cv3r-c5h8-f4g5"},{"ecosystem":"npm","fixed":["2.1.27"],"introduced":["0"],"last_affected":[],"package":"@zereight/mcp-gitlab","purl":"pkg:npm/%40zereight/mcp-gitlab","source":"GHSA-cv3r-c5h8-f4g5"}],"prev":{"headline":"@zereight/mcp-gitlab Vulnerable to Server-Side Request Forgery","id":"CVE-2026-61559"},"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)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-16","vendors":["zereight"]},"summary":"Unauthenticated attackers can read arbitrary files to steal GitLab tokens and take over accounts via the upload_markdown tool in the MCP server.","url":"https://insights.sbomify.com/CVE-2026-61560/"}