CVE-2026-140426

GitLab MCP CI catalog tools bypassed configured project scope

zereight · GitLab MCP server

First documented disclosure · Review checkpoint

Summary

CI/CD catalog tools could expose projects outside the MCP server project allowlist while using its GitLab token.

Severity and exploitation evidence

Medium · 5.3/10 · CVSS 4.0. Severity source.

Exploitation not established: The reviewed public originals establish a vulnerability or controlled demonstration, not malicious exploitation against users. No exploit, package, model or external proof of concept was executed in this review.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

Catalog get/list operations omitted the project-scope enforcement used by other tools, allowing GraphQL catalog queries beyond the intended project boundary.

Conditions required

An MCP client can call the catalog tools; the GitLab token can access the other project. The token remains the upstream access ceiling.

Potential impact

Disclosure of catalog metadata, components and optional README content outside the configured MCP project scope.

Affected versions and configurations

2.1.26 through versions before 3.0.0, according to the CNA.

Fix and mitigation status

3.0.0 contains commit 1165ed7. Individual resource retrieval is checked before and after GraphQL resolution. Instance-wide listing is refused when ENABLE_STRICT_PROJECT_SCOPE and a project restriction are active; non-strict listing remains instance-wide by design.

Practical next steps

Upgrade to 3.0.0 or later and enable strict project scope when catalog listing must be confined; restrict the underlying GitLab token to necessary projects.

Operating lesson

Apply tenant authorization to every tool and to identifiers resolved by upstream APIs.

Evidence and limits

The November 23 source correction and v3.0.0 tool handlers were reviewed. The fixed behavior is configuration-sensitive; a plain allowlist is not described as universally restricting non-strict catalog listings. The displayed CVSS 4.0 5.3 is the VulnCheck CNA assessment.

Sources