← All advisories

CVE-2026-140426mediumBroken access control2026-12-01

CVE-2026-140426: GitLab MCP server (@zereight/mcp-gitlab) let restricted clients skip the project allowlist through its CI/CD catalog tools and read other projects' metadata (fixed 3.0.0)

zereight's GitLab MCP server can be limited to a project allowlist, but from 2.1.26 up to (not including) 3.0.0 the get_ci_catalog_resource and list_ci_catalog_resources tools ignored it. A restricted MCP client, or an agent steered by prompt injection, could use the server's GitLab token to run GraphQL queries that list instance-wide CI/CD catalog resources and read other projects' metadata, component specifications and README content. Fixed in 3.0.0. This is a second allowlist gap after CVE-2026-137187.

01.

What it is

The two CI/CD catalog tools sent GraphQL queries with the server's own GitLab token and never applied the configured project allowlist.

So a client that was meant to see only some projects could enumerate the whole instance's CI/CD catalog and read data from projects outside its allowlist.

Affected: gitlab-mcp >= 2.1.26 and < 3.0.0 (CWE-862). Fixed in v3.0.0 (commit 1165ed7). NVD published the CVE on 1 December 2026.

02.

How to check

  1. Check the @zereight/mcp-gitlab version in your MCP client config or with npm ls; it should be 3.0.0 or later.
  2. If you rely on the project allowlist, check whether the CI/CD catalog tools are enabled.
03.

How to fix

  1. Upgrade @zereight/mcp-gitlab to 3.0.0 or later.
  2. Give the server a GitLab token scoped to only the projects it should reach; do not rely on the MCP-side allowlist alone.
npm ls @zereight/mcp-gitlab
npm ls -g @zereight/mcp-gitlab
04.

Sources

Related on VibeVulns
More advisories for this tool
The weekly email

One email a week. Only what changed.

Every new security hole in AI coding tools, MCP servers, app builders and the stacks they generate (Next.js, Supabase, Node, PHP), each with how to check your app and the fix. No roundups of things you already read.

Free, one email a week. Read the latest issue first if you like. One-click unsubscribe in every email. We never sell or share addresses.