CVE-2026-19334 Details
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.
A command injection vulnerability has been identified in NightTrek Ollama-mcp versions prior to 80cf2e17cfc144963a475b619093a2d13c13dbc9. The issue resides in the file src/index.ts, where several model-management handlers directly interpolate user-controlled arguments into shell command strings. This manipulation can lead to arbitrary command execution on the local operating system, with the commands being executed under the privileges of the MCP server process. The vulnerability can only be exploited locally.
To address this vulnerability, it is recommended to replace the use of 'exec()' or 'execAsync(...)' with 'execFile()' or 'spawn()', using argument arrays to safely pass data without risking injection. Additionally, ensure that the 'name', 'modelfile', 'source', and 'destination' fields are treated as data rather than shell fragments, and apply these changes across all affected Ollama management handlers.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 9, 2026CISA-ADP
Assessed Aug 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/NightTrek/Ollama-mcp/ | [email protected] | ProductSource CodeVendor |
| https://github.com/NightTrek/Ollama-mcp/issues/5 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://vuldb.com/cve/CVE-2026-19334 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/865257 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/387170 | [email protected] | BundlePermission Required |
| https://vuldb.com/vuln/387170/cti | [email protected] | AdvisoryPermission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| NightTrek Ollama-mcp | 0.1.0 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 23, 2026 | CVE Translated | [email protected] |
| Aug 10, 2026 | CVE Modified | CISA-ADP |
| Aug 9, 2026 | New CVE Received | [email protected] |
Volerion