Case · DiggingBeagle record

An unrecognized GitLab API path skipped the MCP project allowlist

GHSA-5xhm-p3jx-2fmc describes a project-allowlist bypass when API-path parsing returns no project ID, including redirect checks.

Published by DiggingBeagle:

Scope

Third-party @zereight/mcp-gitlab with an operator-configured project allowlist and a token permitting a non-project endpoint.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
not established
Evidence
Grade B
Remediation
patch available
AI role
AGAINST AI
Basis and provenance

The advisory explicitly reports static analysis without a live GitLab test. Patch and release artifacts support a corrective change, but do not establish live exploitation or complete enforcement of every GitLab policy. Impact remains unscored: the evidence describes conditional or study-specific effects, and this pack supplies no calibrated mapping from those effects to a numeric impact band. Evidence strength reflects the stated provenance and limitations, not the number of sources.

Assessed Dec 2, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    A scoped caller reaches the generic API tool

    A configured project allowlist is intended to restrict a GitLab token with broader permissions.

    Boundary: delegated project scope -> generic API request

  2. 02

    Path classification fails open

    A non-project-shaped initial or credentialed redirect path yields no recognized project ID and skips the old allowlist check.

    Boundary: unrecognized resource identity -> permitted request

  3. 03

    The token determines the reachable effect

    The request can exercise permissions of the underlying token outside the intended path scope; the disclosure did not test a live GitLab instance.

    Boundary: MCP restriction -> GitLab token authority

Timeline

  1. Nov 30, 2026
    Event type unspecified

    CVE record published

    The maintainer advisory displays an earlier date; the publication chronology remains qualified.

Claims & evidence

CLM-ENR299-GITLAB-RELEASERelease v2.3.7 includes the fix refusing non-project API paths when a project allowlist is active.supported

Basis: reported finding

Link to claim
CLM-DEC02-GITLAB-ALLOWLIST-1GHSA-5xhm-p3jx-2fmc describes a project-allowlist bypass when API-path parsing returns no project ID, including redirect checks.supported

Basis: reported finding

Link to claim
CLM-DEC02-GITLAB-ALLOWLIST-2The advisory lists versions 2.2.5-2.3.6 as affected and 2.3.7 as patched, and explicitly says no live GitLab test was performed.supported

Basis: reported finding

Link to claim
CLM-ENR299-GITLAB-PATCH-BOUNDARYCommit 9faa3be requires initial and credentialed redirected paths to identify an allowed project; its documentation says project identifiers in body and query parameters remain outside that check.supported

Basis: reported finding

Link to claim
CLM-DEC02-GITLAB-ALLOWLIST-CVE-DATEThe CNA record publishes CVE-2026-137187 on November 30, 2026; this is a CVE publication date, not proof of a new attack or first discovery.supported

Basis: reported finding

Link to claim

Implications

A local allowlist must define what happens when a resource cannot be classified; an API token remains a separate authority ceiling.

Controls and mitigations

  • Upgrade to the listed fixed release, and test non-project paths and credentialed redirects under the actual configured allowlist.
  • If delegation depends on restrictions the generic API tool does not enforce, disable that tool or narrow the underlying token rather than assuming the path fix covers all policy dimensions.

Unknowns and contradictions

  • Production exploitation and exact first affected deployment dates are unknown.

Sources and citation

Material revision history

  1. Dec 2, 2026 · Published version · first publication · revision 300