Description
mcp-ffmpeg through 1.0.5 contains an OS command injection vulnerability that allows attackers to run shell commands by supplying crafted videoPath or outputDir values to the resize-video, extract-audio and get-video-info tools. Attackers can embed $(), backticks or a closing double quote in an existing file or directory name to break out of the child_process.exec command string and execute commands as the MCP server user.
Published: 2026-10-27
Score: 7.3 High
EPSS: n/a
KEV: No
Impact: OS command injection
Action: Apply Patch
AI Analysis

Impact

mcp-ffmpeg executes system shell commands to manipulate media inputs, but it wrongly concatenates user-supplied videoPath or outputDir values into a string passed to child_process.exec. An attacker can embed characters such as $(), backticks, or a closing double quote to terminate the intended command and inject arbitrary shell instructions. This flaw allows the attacker to run commands as the MCP server user, granting read/write access to the server filesystem and the ability to execute code with the privileges the server process holds.

Affected Systems

Bitscorp's MCP-FFmpeg library, which powers media conversion in Minimum Control Platform deployments, is affected in versions up to and including 1.0.5. Any installation that uses the resize‑video, extract‑audio, or get‑video‑info commands with this version should be considered at risk.

Risk and Exploitability

The CVSS score of 7.3 indicates high severity. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalogue. The attack vector is likely remote, as any actor who can influence the videoPath or outputDir parameters—through uploads, API requests, or file‑system manipulation—can exploit the flaw. Successful exploitation yields remote code execution with the same privileges as the MCP server process, potentially compromising the entire host. Immediate patching or mitigations are strongly advised.

Generated by OpenCVE AI on October 27, 2026 at 14:39 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade mcp-ffmpeg to version 1.0.6 or newer to eliminate the command‑injection flaw.
  • Validate and sanitize all user-supplied videoPath and outputDir values, allowing only safe characters and rejecting metacharacters that could terminate the shell command.
  • Run the MCP server under a restricted non‑root user and limit filesystem permissions so that even if the server process is compromised, the impact is contained.

Generated by OpenCVE AI on October 27, 2026 at 14:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 27 Oct 2026 13:45:00 +0000

Type Values Removed Values Added
Description mcp-ffmpeg through 1.0.5 contains an OS command injection vulnerability that allows attackers to run shell commands by supplying crafted videoPath or outputDir values to the resize-video, extract-audio and get-video-info tools. Attackers can embed $(), backticks or a closing double quote in an existing file or directory name to break out of the child_process.exec command string and execute commands as the MCP server user.
Title mcp-ffmpeg through 1.0.5 OS Command Injection via videoPath and outputDir
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-27T13:08:01.183Z

Reserved: 2026-10-27T11:25:26.115Z

Link: CVE-2026-117568

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-27T14:16:39.327

Modified: 2026-10-27T14:16:39.327

Link: CVE-2026-117568

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-27T14:45:03Z

Weaknesses
  • CWE-78

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