# CVE-2026-61559: @zereight/mcp-gitlab Vulnerable to Server-Side Request Forgery

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.6
- **CVSS:** 9.6 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.54% (percentile 39, 2026-11-26)
- **CWE:** CWE-918
- **Aliases:** GHSA-2h44-8472-frjj
- **Published:** 2026-09-15T20:57:28.000Z
- **Modified:** 2026-09-30T17:51:56.193Z

## 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

## 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

- npm `@zereight/mcp-gitlab`: affected \>= 0.0.1, \< 2.1.27; fixed 2.1.27 (osv)
- zereight gitlab-mcp: \>= 0.0.1, \< 2.1.27 (cvelist)

## Mitigation

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

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/zereight/gitlab-mcp/security/advisories/GHSA-2h44-8472-frjj>
- patch: <https://github.com/zereight/gitlab-mcp/pull/625>
- patch: <https://github.com/zereight/gitlab-mcp/commit/6ffb4cc70706fd05b1ab80901676bc2998b6db6d>
- other: <https://github.com/zereight/gitlab-mcp/releases/tag/v2.1.27>
- other: <https://github.com/zereight/gitlab-mcp>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-61559>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-2h44-8472-frjj> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-61559> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-61559>
