CVE-2025-15063
CRITICALCVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Lifecycle Timeline
2Description
Ollama MCP Server execAsync Command Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ollama MCP Server. Authentication is not required to exploit this vulnerability. The specific flaw exists within the implementation of the execAsync method. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-27683.
Analysis
Ollama MCP Server has a command injection vulnerability in execAsync (EPSS 1.0%) allowing remote attackers to execute arbitrary commands on systems running the Ollama AI integration.
Technical Context
The Ollama MCP Server has a CWE-78 command injection in the execAsync function that allows remote command execution through crafted MCP protocol messages.
Affected Products
['Ollama MCP Server']
Remediation
Update the MCP server. Bind to localhost only. Sanitize all command inputs.
Priority Score
Share
External POC / Exploit Code
Leaving vuln.today