CriticalVulnerability
CVE-2026-61560: @zereight/mcp-gitlab unauthenticated file read via upload_markdown
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-61560
- Published
- Record updated
- Affected
- @zereight/mcp-gitlab < 2.1.27
- Fixed in
- 2.1.27
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 3.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
The `@zereight/mcp-gitlab` Model Context Protocol server, prior to version 2.1.27, exposes all MCP tools without authentication when SSE transport mode (`SSE=true`) is enabled. An unauthenticated network attacker can use the `upload_markdown` tool, which reads arbitrary local files through an unsanitized `file_path` parameter, to read `/proc/self/environ` and steal the `GITLAB_PERSONAL_ACCESS_TOKEN`, enabling full GitLab account takeover. This is the default configuration for Docker deployments.
Mitigation
Patch: version 2.1.27 contains a patch.
Topics
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online