ZDI-26-020: (0Day) Ollama MCP Server execAsync Command Injection Remote Code Execution Vulnerability

Published Jan 9, 2026
·
Updated

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.

Other sources

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 ZDI has assigned a CVSS rating of 9.8. The following CVEs are assigned: CVE-2025-15063.

ZDI

Affected Software

2 affected components
Ollama MCP Server
Ollama MCP Server Ollama MCP Server

Event History

Jan 9, 2026
Advisory Published
via ZDI·06:00 AM
Data Sourced
via ZDI·06:00 AM
Description
Jan 23, 2026
Advisory Published
via ZDI·03:23 AM
Data Sourced
via ZDI·03:23 AM
SeverityAffected Software

Frequently Asked Questions

1

What is the severity of ZDI-26-020?

ZDI-26-020 is classified as a high severity vulnerability due to its potential for remote code execution.

2

How do I fix ZDI-26-020?

To mitigate ZDI-26-020, ensure that you apply the latest patches and updates provided by Ollama for the MCP Server.

3

What systems are affected by ZDI-26-020?

ZDI-26-020 affects installations of the Ollama MCP Server without requiring authentication to exploit.

4

Can ZDI-26-020 be exploited remotely?

Yes, ZDI-26-020 allows remote attackers to execute arbitrary code on vulnerable systems.

5

Is authentication required to exploit ZDI-26-020?

No, authentication is not required to exploit the ZDI-26-020 vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203