Terminal Controller Mcp
CVE-2025-61492
CRITICAL
Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Lifecycle Timeline
3DescriptionCVE.org
A command injection vulnerability in the execute_command function of terminal-controller-mcp 0.1.7 allows attackers to execute arbitrary commands via a crafted input.
AnalysisAI
terminal-controller-mcp 0.1.7, an MCP (Model Context Protocol) server for terminal control, has command injection in execute_command that allows arbitrary command execution. Maximum CVSS 10.0 with scope change – compromising the MCP server grants control over all connected AI agents.
Technical ContextAI
The execute_command function does not sanitize input before passing it to a shell (CWE-77). As an MCP server, it mediates between AI agents and the terminal – command injection here means any AI agent interaction can be weaponized. The scope change reflects that compromise of the MCP server affects all connected agents and their capabilities.
RemediationAI
Update to a patched version. Implement strict input validation in the execute_command function. Run MCP servers in isolated containers with minimal permissions.
Share
External POC / Exploit Code
Leaving vuln.today
GHSA-h4rf-624j-gj33