CVE-2025-15063CWE-78

Ollama MCP Server execAsync Command Injection Remote Code Execution Vulnerability

Critical · published January 23, 2026

CVSS v3.0
9.8
EPSS
2%
Percentile
79.9
In the wild
Unconfirmed
What it is

🚨 Authentication? Not needed! This critical vulnerability in Ollama MCP Server lets attackers execute arbitrary code with a simple command injection. 🔥 Think of it like a restaurant where the chef blindly follows any customer’s order without checking the ingredients — they could end up cooking something dangerous! This flaw in the execAsync method is just as reckless, allowing attackers to run any code they want on the server. An attacker could waltz into your server and execute any command they desire, potentially leading to unauthorized access, data theft, or even total system compromise. The consequences could be absolutely devastating, as they could manipulate the system in ways you never imagined!

Put simply

Think of it like a restaurant where the chef blindly follows any customer’s order without checking the ingredients — they could end up cooking something dangerous! This flaw in the execAsync method is just as reckless, allowing attackers to run any code they want on the server. The vulnerability arises from the execAsync method, which fails to validate user-supplied strings before executing system calls. This oversight allows for remote code execution without needing authentication.

What to do

An attacker could waltz into your server and execute any command they desire, potentially leading to unauthorized access, data theft, or even total system compromise. The consequences could be absolutely devastating, as they could manipulate the system in ways you never imagined! Immediately patch your Ollama MCP Server to the latest version to close this vulnerability. Review your code to ensure that all user inputs are properly sanitized before execution. If you can, deploy additional security measures like firewalls or intrusion detection systems. 🛡️ You've got this! Take these steps, and you'll have your defenses locked down in no time! 💪✨

The record
Technical detail
CVSS v3.0
9.8 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01938 · 79.9th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2026-01-23T02:47Z
EPSS history
Timeline
  • 23 JAN 02:47Z
    Ollama MCP Server execAsync Command Injection Remote Code Execution Vulnerability
    cvelistv5