mcp-cve-project

CVE-2026-44895 | GitLab MCP Server (HTTP transport without authentication) | Critical | 9.2

CVE Information

Field Value
CVE / NVD CVE-2026-44895
Date (index) 2026-05-14
Affected product (index) GitLab MCP Server (HTTP transport without authentication)
GHSA ID GHSA-8jr5-6gvj-rfpf
OWASP MCP Top 10 (2025) MCP07 — Insufficient Authentication & Authorization
Published / disclosed 2026-05-14
Ecosystem Application / upstream project
Component GitLab MCP Server (HTTP transport without authentication)
EPSS score 0.003920000 (FIRST EPSS, 2026-06-30)
CVSS score 9.2 CRITICAL CVSS v4.0 (NVD)
CWE CWE-306
Affected versions mcp-gitlab-server < 0.6.0
Fixed versions 0.6.0.
Fix status Patched
Exploit status Public CVE record
Notes Indexed from 2026-05-29 gap review backlog. Re-check NVD before compliance reporting.

CVE Breakdown


What is the vulnerability?

GitLab MCP Server lets an AI agent talk directly to GitLab. Prior to 0.6.0, the HTTP transport in src/transport.ts ships with no authentication layer at all and a wildcard Access-Control-Allow-Origin: * on every response. The structural defect is that the SSE server stands up a stateful, mutation-capable RPC endpoint that is backed by the operator’s GITLAB_PERSONAL_ACCESS_TOKEN without any inbound credential check, then advertises itself to every cross-origin browser context via the wildcard CORS header. The httpServer.listen(port) call at line 97 also passes no host argument, so the bind defaults to 0.0.0.0 and exposes the auth-less surface on every interface. This vulnerability is fixed in 0.6.0.

Attack prerequisites / exposure

Exposure depends on deployment: network reachability, ability to influence MCP configuration or tool arguments, and whether the MCP server/client runs with access to sensitive host resources, credentials, or internal networks.

CVE is because of what bug?

Confirm exact weakness in the NVD record and linked advisory. Primary CWE mapping: CWE-306.

MCP-specific impact / why it matters

MCP clients and servers bridge model-driven workflows to privileged tools and local execution. Weaknesses in auth, transport trust, or command handling can let untrusted content or users reach host execution, data exfiltration, or unauthorized tool invocation.

Where was the bug? (source + snippet)

Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory diff.

Fix / Remediation

Upgrade to the vendor-fixed version where available. Restrict MCP components to trusted users and networks; validate tool inputs; run with least privilege.

Upstream fix (open source)

Workarounds / mitigations

Exploit / PoC

Public advisories exist; do not host weaponized payloads in this repository.

Detection / verification

Patch

See NVD references and vendor release notes for CVE-2026-44895.