Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
7DescriptionCVE.org
A vulnerability was detected in raine consult-llm-mcp up to 2.5.3. Affected by this vulnerability is the function child_process.execSync of the file src/server.ts. The manipulation of the argument git_diff.base_ref/git_diff.files results in os command injection. The attack is only possible with local access. The exploit is now public and may be used. Upgrading to version 2.5.4 addresses this issue. The patch is identified as 4abf297b34e5e8a9cb364b35f52c5f0ca1d599d3. Upgrading the affected component is recommended.
AnalysisAI
OS command injection in raine consult-llm-mcp up to version 2.5.3 allows local authenticated users to execute arbitrary system commands via manipulation of git_diff.base_ref or git_diff.files arguments passed to child_process.execSync in src/server.ts. The vulnerability requires local access and valid credentials (privilege level L), has a CVSS score of 5.3 with medium impact on confidentiality, integrity, and availability, and publicly available exploit code exists. Vendor-released patch addresses the issue in version 2.5.4.
Technical ContextAI
The vulnerability exists in the command execution handling within raine consult-llm-mcp's server implementation. The root cause is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command) and occurs when user-controlled input from the git_diff.base_ref and git_diff.files parameters is passed unsanitized to Node.js child_process.execSync without proper input validation or escaping. This allows an authenticated local user to inject arbitrary shell metacharacters and commands that are executed with the privileges of the process running the MCP server. The affected product is consult-llm-mcp (CPE: cpe:2.3:a:raine:consult-llm-mcp:*:*:*:*:*:*:*:*), a Model Context Protocol server component, with all versions up to and including 2.5.3 impacted.
RemediationAI
Vendor-released patch: Upgrade to raine consult-llm-mcp version 2.5.4 or later. The patched release is available at https://github.com/raine/consult-llm-mcp/releases/tag/v2.5.4, with the underlying fix committed at https://github.com/raine/consult-llm-mcp/commit/4abf297b34e5e8a9cb364b35f52c5f0ca1d599d3. If immediate upgrade is not feasible, restrict local system access and review git_diff parameter handling in server.ts to implement input validation and command argument escaping (e.g., using safe libraries that do not invoke shell interpretation). Monitor access logs for suspicious git operations that may indicate exploitation attempts.
Same weakness CWE-78 – OS Command Injection
View allSame technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-17146
GHSA-hg3w-jvvc-86cf