Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-61559

CRITICAL 9.6EPSS 39%

@zereight/mcp-gitlab Vulnerable to Server-Side Request Forgery

Also known as GHSA-2h44-8472-frjj

Mitigation

  • Upgrade @zereight/mcp-gitlab to 2.1.27 or later.

Who should check

  • Projects that depend on npm package @zereight/mcp-gitlab (>= 0.0.1, < 2.1.27)
  • Anyone running zereight gitlab-mcp >= 0.0.1, < 2.1.27

Vulnerability facts

Affected
@zereight/mcp-gitlab >= 0.0.1, < 2.1.27
Fixed in
2.1.27
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
9.6 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: None
EPSS
0.54% chance of exploitation in 30 days (percentile 39, 2026-11-26)
CWE
CWE-918
Published
Modified

Description

`@zereight/mcp-gitlab` is a Model Context Protocol server for GitLab. Starting in version 0.0.1 and prior to version 2.1.27, when the environment variable `ENABLE_DYNAMIC_API_URL=true` is set, the server reads the `X-GitLab-API-URL` HTTP request header and uses it as the base URL for all outbound GitLab API calls made within that request. The server validates that the value is a well-formed URL (`new URL(dynamicApiUrl)`) but applies no allowlist or hostname restriction. The server then attaches the victim's `Private-Token` to every outbound fetch that uses the redirected URL. Any caller who can reach the HTTP transport can set `X-GitLab-API-URL` to an attacker-controlled host. The next GitLab API call the server makes delivers the victim's token to that host. Version 2.1.27 contains a patch.

Affected and fixed versions

Package / productAffectedFixedSource
npm @zereight/mcp-gitlab>= 0.0.1, < 2.1.272.1.27osv
zereight gitlab-mcp>= 0.0.1, < 2.1.27—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-61559. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-61559.md
Affected: @zereight/mcp-gitlab >= 0.0.1, < 2.1.27
Fixed in: 2.1.27

Steps:
1. Search this machine and project for @zereight/mcp-gitlab (npm), zereight gitlab-mcp: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-61559 being exploited?

There is no confirmed exploitation: CVE-2026-61559 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.54% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-61559?

Critical: CVSS 9.6 (v3.1, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2026-61559?

@zereight/mcp-gitlab >= 0.0.1, < 2.1.27.

Is there a fix for CVE-2026-61559?

Yes. Fixed in 2.1.27. Upgrade @zereight/mcp-gitlab to 2.1.27 or later.

How do I check if I'm affected by CVE-2026-61559?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors