p PatchFirst

CVE-2026-61560

CVE-2026-61560 · @zereight/mcp-gitlab's unauthenticated arbitrary file read via `upload_markdown` enables PAT exfiltration and full account takeover

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

`@zereight/mcp-gitlab` is a Model Context Protocol server for GitLab. Prior to version 2.1.27, the SSE transport mode (`SSE=true`) exposes all MCP tools without any authentication. The `upload_markdown` tool reads arbitrary files from the server's local filesystem via an unsanitized `file_path` parameter and uploads them to a GitLab project. Combined, any unauthenticated network-reachable attacker can read `/proc/self/environ` to steal the server's `GITLAB_PERSONAL_ACCESS_TOKEN` and achieve full GitLab account takeover. This is the default configuration for Docker deployments. Version 2.1.27 contains a patch.

CVSS 9.8 · Critique · EPSS 2,9% · Code d’exploitation public · Correctif disponible

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

  • gitlab-mcp

    Versions du logiciel
    • < 2.1.27: Concernée

    Aucun correctif publié

  • @zereight/mcp-gitlab npm

    Plages de versions concernées
    • SEMVER: < 2.1.27

    Mettez à jour vers 2.1.27

Sources originales

Vérifiez votre serveur →