Critical OS Command Injection Vulnerabilities in MCP Tools
Article Content
- •Two critical vulnerabilities (CVSS 9.8) in MCP tools allow OS command injection.
- •Flaws stem from improper input sanitization in sf-mcp and mcp-ffmpeg tools.
- •No patches are available, leaving systems exposed to potential exploitation.
Two critical vulnerabilities have been identified in MCP tools, affecting multiple command-line utilities. The first vulnerability in sf-mcp allows OS command injection through improperly sanitized flag values, enabling attackers to execute arbitrary commands. The second vulnerability in mcp-ffmpeg exposes three tools to command injection via user-controlled parameters passed directly to shell commands. Both vulnerabilities have a CVSS score of 9.8, indicating a critical risk. The flaws arise from insufficient input sanitization, leading to potential data exfiltration and system compromise. No patches have been reported as of now, leaving systems vulnerable. Users of the affected tools are advised to review their configurations and limit exposure. The vulnerabilities are categorized under CWE-78 for improper neutralization of special elements used in OS commands.
Ask AI about this cluster
Answers cite the sources they use