@zereight/mcp-gitlab is a Model Context Protocol server for GitLab. From 2.2.5 until 2.3.7, assertProjectAllowlist for gitlab_api_request in tools/gitlab-api-request.ts returns without enforcing the configured allowedProjectIds check when readProjectIdFromApiRelativePath cannot extract a project ID from the requested /api/v4 path. Group, user, instance, and other unrecognized paths bypass the intended project restriction in both initial requests and redirect revalidation; redirect revalidation also returns early for an empty relative path. A caller can reach GitLab API operations allowed by the server's token outside the configured project boundary. This issue is fixed in 2.3.7.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-862"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137187.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "2.2.5"
},
{
"fixed": "2.3.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "9faa3beab973cae147d57f125b79e2b25d30520e"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v2.3.7",
"range": [
{
"fixed": "03dd46dfd45829abf0c1da43da6273f29c67919c"
}
],
"source": "REFERENCES_TAG"
}
]
}