CVE-2025-15063 Ollama MCP Server execAsync Command Injection Remote Code Execution Vulnerability

Critical 9.8 Published Updated

Remote attackers can execute arbitrary code on Ollama MCP Server via command injection in execAsync without authentication.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-15063?

CVE-2025-15063 is a critical command injection vulnerability in Ollama MCP Server, published on 23 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-78

Which versions are affected by CVE-2025-15063?

How do I fix CVE-2025-15063?

No fix has been published for CVE-2025-15063 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-15063 being exploited?

There is no known exploitation of CVE-2025-15063 in the wild and no public exploit code.

Sources

Also known as GHSA-qgp8-r7w8-m3rv.

Is CVE-2025-15063 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free