Description
A flaw has been found in NightTrek Ollama-mcp up to 80cf2e17cfc144963a475b619093a2d13c13dbc9. This affects an unknown part of the file src/index.ts. This manipulation of the argument name/modelfile/source/destination causes command injection. The attack can only be executed locally. This product is using a rolling release to provide continious delivery. Therefore, no version details for affected nor updated releases are available. The project was informed of the problem early through an issue report but has not responded yet.
Published: 2026-08-09
Score: 4.8 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in NightTrek's Ollama-mcp allows command injection via manipulation of the arguments name, modelfile, source, or destination in src/index.ts. This flaw can be triggered only when the application is executed on a local machine, enabling an attacker with local access to run arbitrary system commands. The impact of the attack is confined to the host where Ollama-mcp runs, potentially compromising the confidentiality, integrity, or availability of that system. The CVSS score of 4.8 indicates a moderate threat severity.

Affected Systems

NightTrek's Ollama-mcp (any version prior to commit 80cf2e17cfc144963a475b619093a2d13c13dbc9) is affected. The project uses a rolling release model, so precise version numbers are not published; users of the software should assume all releases before the mentioned commit are vulnerable until an official fix is released.

Risk and Exploitability

The local‑only nature of the flaw means it cannot be exploited remotely; an attacker must already have physical or remote console access. EPSS data is unavailable, and the vulnerability is not listed in the CISA KEV catalog, suggesting no known exploits to date. The CVSS score of 4.8 reflects a moderate risk, but the potential for local command execution warrants timely remediation once a fix becomes available.

Generated by OpenCVE AI on August 9, 2026 at 06:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply an official update that contains the command‑injection fix as soon as it is released by NightTrek.
  • If no update is available, mitigate by sanitizing or rejecting the vulnerable arguments (name, modelfile, source, destination) in a wrapper or configuration layer.
  • Run the application with the least privilege necessary—preferably inside a container with restricted capabilities—to limit the damage of any accidental local command execution.

Generated by OpenCVE AI on August 9, 2026 at 06:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 09 Aug 2026 05:15:00 +0000

Type Values Removed Values Added
Description A flaw has been found in NightTrek Ollama-mcp up to 80cf2e17cfc144963a475b619093a2d13c13dbc9. This affects an unknown part of the file src/index.ts. This manipulation of the argument name/modelfile/source/destination causes command injection. The attack can only be executed locally. This product is using a rolling release to provide continious delivery. Therefore, no version details for affected nor updated releases are available. The project was informed of the problem early through an issue report but has not responded yet.
Title NightTrek Ollama-mcp index.ts command injection
First Time appeared Nighttrek
Nighttrek ollama-mcp
Weaknesses CWE-74
CWE-77
CPEs cpe:2.3:a:nighttrek:ollama-mcp:*:*:*:*:*:*:*:*
Vendors & Products Nighttrek
Nighttrek ollama-mcp
References
Metrics cvssV2_0

{'score': 4.3, 'vector': 'AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 5.3, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Nighttrek Ollama-mcp
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-08-09T05:00:11.707Z

Reserved: 2026-08-08T09:55:28.464Z

Link: CVE-2026-19334

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-09T06:30:03Z

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')