codebase-mcp (OS command injection) | Medium | 5.3| 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 |
Local codebase import/export helpers can execute attacker-controlled OS commands.
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.
RepoMix command handler OS command injection
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.
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.
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.
Public PoC or exploit discussion is reported in the current source set. Add a direct lab-safe reference here rather than copying payloads into the page.