mcp-cve-project

CVE-2026-5023 | codebase-mcp (OS command injection) | Medium | 5.3

CVE Information

Field Value
CVE / NVD CVE-2026-5023
Date (index) 2026-03-29
Affected product (index) codebase-mcp (OS command injection)
GHSA ID GHSA-cm69-52gj-g4j6
OWASP MCP Top 10 (2025) MCP05 — Command Injection & Execution
Published / disclosed 2026-03-29
Ecosystem Application / upstream project
Component codebase-mcp (OS command injection)
EPSS score 0.006470000 (FIRST EPSS, 2026-06-30)
CVSS score 5.3 MEDIUM CVSS v3.1 (NVD)
CWE CWE-77 / CWE-78
Affected versions rolling release before commit fix; verify advisory
Fixed versions no vendor patch confirmed
Fix status Patched
Exploit status Public PoC reported

CVE Breakdown


What is the vulnerability?

Local codebase import/export helpers can execute attacker-controlled OS commands.

Attack prerequisites / exposure

The attacker needs control over tool arguments, command parameters, or MCP configuration that is forwarded into a process execution path. Exposure is worst when the service accepts remote requests or untrusted project/config input.

CVE is because of what bug?

RepoMix command handler OS command injection

MCP-specific impact / why it matters

Local codebase import/export helpers can execute attacker-controlled OS commands. The impact can extend from a single malformed input to host-level command execution.

Where was the bug? (source + snippet)

Exact file/function details are not yet captured in the repository source set. Use the advisory and upstream fix link above as the starting point for source-level pinpointing.

Add the vulnerable file/function name and a minimal before/after snippet here once the patch commit is linked.

Fix / Remediation

The remediation tightens input handling so untrusted values cannot change the executed command or code path, typically by validating arguments and removing unsafe shell-style evaluation.

Upstream fix (open source)

Workarounds / mitigations