CVE-2025-15063: (0Day) Ollama MCP Server execAsync Command Injection Remote Code Execution Vulnerability
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Apply mitigation referenced by ZDI-CAN-27683 for the Ollama MCP Server execAsync command injection (RCE) until a vendor fix is available.
Event History
Frequently Asked Questions
What is the severity of CVE-2025-15063?
CVE-2025-15063 has been classified as a critical vulnerability due to its potential for remote code execution.
How do I fix CVE-2025-15063?
To mitigate CVE-2025-15063, it is recommended to apply the latest security patches provided by Ollama for the MCP Server.
Who is affected by CVE-2025-15063?
CVE-2025-15063 affects all installations of Ollama MCP Server where the execAsync command is used.
Can CVE-2025-15063 be exploited remotely?
Yes, CVE-2025-15063 allows remote attackers to execute arbitrary code on affected installations.
What is the nature of the vulnerability in CVE-2025-15063?
CVE-2025-15063 is an execAsync command injection vulnerability that enables remote code execution.