mcp-cve-project

CVE-2026-7628 | mcp-code-review-server command injection | Severity: see NVD

CVE Information

Field Value
CVE / NVD CVE-2026-7628
Date (index) 2026-05-08
Affected product (index) mcp-code-review-server
GHSA ID GHSA-X7P6-M57G-XH3Q
OWASP MCP Top 10 (2025) MCP05 — Command Injection & Execution
Published / disclosed 2026-05-08
Ecosystem Application / upstream project
Component mcp-code-review-server
EPSS score 0.011100000 (FIRST EPSS, 2026-06-30)
CVSS score 6.3 MEDIUM CVSS v3.1 (NVD)
CWE CWE-74
Affected versions mcp-code-review-server 0.1.0
Fixed versions No fixed version listed in NVD/GitHub advisory
Fix status Unfixed
Exploit status Public CVE record; do not mirror weaponized payloads
Notes Added during the 2026-05-18 missing-CVE review. Re-check NVD before using this entry for compliance reporting.

CVE Breakdown


What is the vulnerability?

CVE-2026-7628 tracks os command injection affecting mcp-code-review-server. The issue is relevant to MCP deployments because the vulnerable component exposes MCP tools, transport handling, registry functionality, or MCP-adjacent automation that can affect developer workstations, agents, secrets, local files, or backend services.

Attack prerequisites / exposure

Exposure depends on how the affected component is deployed. Prioritize systems where the MCP server, registry, or client integration is reachable by untrusted users, accepts attacker-controlled tool arguments, loads external MCP configuration, or runs with access to sensitive local files, credentials, repositories, cloud APIs, or internal network resources.

CVE is because of what bug?

Weakness class: OS command injection. Confirm the exact CWE and affected code path in the NVD record and the linked upstream advisory before adding exploit-specific detail.

MCP-specific impact / why it matters

MCP components often bridge model output to privileged tools. Vulnerabilities in command execution, path handling, SSRF validation, registry trust, or configuration loading can let attacker-controlled prompts, repositories, URLs, or tool arguments cross into host execution, data exfiltration, or unauthorized internal access.

Where was the bug? (source + snippet)

Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / tag diff. Do not paste weaponized payloads.

Fix / Remediation

Upgrade to the vendor-fixed version where available. If no fixed version is listed, restrict the affected MCP component to trusted users and trusted networks, disable risky tools, validate tool arguments, and run the service with least-privilege credentials until upstream remediation is confirmed.

Upstream fix (open source)

Workarounds / mitigations

Exploit / PoC

If a public PoC exists, prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.

Detection / verification

Patch

Track NVD references for CVE-2026-7628 and apply the upstream patched release or commit recommended by the vendor/CNA.