The zereight advisory describes a fail-open path in gitlab_api_request: when the helper could not extract a project identifier, it returned before enforcing allowedProjectIds. Group, user and instance-level routes could therefore evade the local project restriction. The same issue affected redirect revalidation. The caller still needed the underlying GitLab…
Inspect the ClaimsCase · 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:
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.
Evidence basis: CLM-DEC02-GITLAB-ALLOWLIST-1 · CLM-DEC02-GITLAB-ALLOWLIST-2 · CLM-DEC02-GITLAB-ALLOWLIST-CVE-DATE · CLM-ENR299-GITLAB-PATCH-BOUNDARY · CLM-ENR299-GITLAB-RELEASE · zereight GitLab MCP project-allowlist bypass, GHSA-5xhm-p3jx-2fmc · CVE-2026-137187 CNA record · GitLab MCP commit 9faa3be: reject non-project API paths under an allowlist · zereight GitLab MCP v2.3.7 release
At a glance
A local allowlist must define what happens when a resource cannot be classified; an API token remains a separate authority ceiling.
Read the implicationsProduction exploitation and exact first affected deployment dates are unknown.
Limits and uncertaintyFull account
The zereight advisory describes a fail-open path in gitlab_api_request: when the helper could not extract a project identifier, it returned before enforcing allowedProjectIds. Group, user and instance-level routes could therefore evade the local project restriction. The same issue affected redirect revalidation. The caller still needed the underlying GitLab token to authorize the requested API operation.
The advisory covers @zereight/mcp-gitlab 2.2.5 through 2.3.6 and lists 2.3.7 as patched. It reports static analysis of the October 21 source state, not exploitation against a live service. This third-party MCP server is distinct from GitLab's own MCP OAuth implementation.
Fail closed when the path has no project identity
The patch changes the meaning of an unrecognized path under an active allowlist: it is denied instead of escaping the project check. This applies to the initial API path and credential-preserving redirect hops. Cross-origin redirects that drop credentials are treated separately, and an installation without a project allowlist does not gain a new project restriction.
The same patch documentation explicitly leaves project identifiers in body and query parameters outside this path check. It also does not turn the generic API tool into a substitute for every other tool-level or group restriction. Consequently, 2.3.7 closes the disclosed path-classification failure while the GitLab token remains an independent ceiling. This resembles Jupyter's locality check only at the level of enforcing the intended authority predicate: GitLab must classify the addressed resource, while Jupyter must authenticate request provenance.
Mechanism and trust boundary
- 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
- 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
- 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
- Nov 30, 2026Event 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
- supportszereight GitLab MCP v2.3.7 releasepatch commit artifact
What's Changed: fix(api), #901
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
- supportszereight GitLab MCP project-allowlist bypass, GHSA-5xhm-p3jx-2fmcprimary disclosure
Description: assertProjectAllowlist and assertRedirectedApiPathAllowed
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
- supportszereight GitLab MCP project-allowlist bypass, GHSA-5xhm-p3jx-2fmcprimary disclosure
Affected versions; Patched versions; final Description paragraph
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
- supportsGitLab MCP commit 9faa3be: reject non-project API paths under an allowlistpatch commit artifact
Commit message; README.md and tools/gitlab-api-request.ts changes
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
- supportsCVE-2026-137187 CNA recordprimary disclosure
cveMetadata.datePublished
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
- Dec 2, 2026 · Published version · first publication · revision 300