CriticalVulnerability
CVE-2026-61559: @zereight/mcp-gitlab leaks GitLab token via X-GitLab-API-URL header
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-61559
- Published
- Record updated
- Affected
- @zereight/mcp-gitlab >= 0.0.1, < 2.1.27
- Fixed in
- 2.1.27
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
Starting in version 0.0.1 and prior to 2.1.27, `@zereight/mcp-gitlab` reads the `X-GitLab-API-URL` request header as the base URL for outbound GitLab API calls when `ENABLE_DYNAMIC_API_URL=true` is set. The server checks only that the value is a well-formed URL, with no allowlist or hostname restriction, and attaches the victim's `Private-Token` to every fetch sent to that URL. Any caller who can reach the HTTP transport can redirect the token to an attacker-controlled host on the next GitLab API call.
Mitigation
Fixed in 2.1.27, which contains a patch.
Topics
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online