CVE-2026-19334

NightTrek Ollama-mcp index.ts command injection

Published Aug 9, 2026 CVSS 4.0 · 4.8 Medium EPSS 1.1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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'}

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')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Aug 10, 2026, 1:37 PM
Reserved
Aug 8, 2026, 9:55 AM
Status
Deferred
Published
Aug 9, 2026, 5:16 AM
Modified
Oct 23, 2026, 8:10 PM