CVE-2026-61568zereight gitlab-mcp
Missing Host/Origin validation in GitLab MCP server
Critical 9.6 No auth needed
Follow: this CVE · zereight · zereight gitlab-mcp We alert you by email or Slack (account required).
- Priority
- 73
- CVSS 3.1
- 9.6
- EPSS
- —
- Auth required
- No
- Published
- Sep 15, 2026
- Updated
- Sep 30, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-350
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
What happens
@zereight/mcp-gitlab versions prior to 2.1.30 lack effective Host and Origin header validation on the Streamable HTTP MCP endpoint. An attacker can use DNS rebinding from a malicious webpage to redirect browser requests to a victim's local MCP listener, enabling unauthorized access. Version 2.1.30 contains the fix.
Show the original NVD text
`@zereight/mcp-gitlab` is a Model Context Protocol server for GitLab. Versions prior to 2.1.30 expose the Streamable HTTP MCP endpoint without an effective Host or Origin allowlist. A malicious web page can use DNS rebinding to route browser requests to a victim's local MCP listener while preserving an attacker-controlled `Host` and `Origin`. The server accepts those headers and reaches the MCP initialization path instead of rejecting the request at the HTTP boundary. Version 2.1.30 contains a patch.
What to do
Patch available · fixed versions: 2.1.30
Update @zereight/mcp-gitlab to version 2.1.30 or later to apply Host and Origin header validation.
- Apply the vendor's security update for gitlab-mcp.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @zereight/mcp-gitlab |
< 2.1.30 |
2.1.30 |
npm install @zereight/mcp-gitlab@2.1.30 |
Per OSV / GitHub Advisories (GHSA-vmp7-252j-cwp7). Check the version in your lockfile before upgrading.
Affected products
- zereight · gitlab-mcp
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.