- Accueil
- Vulnérabilités
- CVE-2026-137187
CVE-2026-137187
@zereight/mcp-gitlab gitlab_api_request: project allowlist is silently skipped for any GitLab API path that has no parseable project ID
Résumé
@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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
zereight (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| gitlab-mcp | Versions non précisées | — | CNA (éditeur ou attributeur) |
npm (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| @zereight/mcp-gitlab | de 2.2.5 (inclus) à 2.3.7 (exclu) |
2.3.7 |
GitHub Advisory |
Correctif
Mise à jour — npm/@zereight/mcp-gitlab 2.3.7source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-5xhm-p3jx-2fmc — @zereight/mcp-gitlab gitlab_api_request: Project allowlist is silently skipped for any GitLab API path that has no parseable project ID 1 déc. 2026
Références
- https://github.com/zereight/gitlab-mcp/security/advisories/GHSA-5xhm-p3jx-2fmcx_refsource_CONFIRM
- https://github.com/zereight/gitlab-mcp/commit/9faa3beab973cae147d57f125b79e2b25d30520ex_refsource_MISC
- https://github.com/zereight/gitlab-mcp/releases/tag/v2.3.7x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-137187ADVISORY
- https://github.com/zereight/gitlab-mcpPACKAGE
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N(CVSS 3.1, CNA:GitHub_M)- Faiblesse
- CWE-862 · Authentification / contrôle d'accès