CVE-2026-137186: pluggedin-app: OS command injection via MCP server args
pluggedin-app is a self-hostable web interface for managing Model Context Protocol servers. Prior to 4.0.0, an authenticated user adding a STDIO MCP server can supply crafted args that PackageManager.transformCommand() extracts as a package name. validateCommandArgs does not reject shell metacharacters in those arguments, and PnpmHandler.install() and UvHandler.install() interpolate the resulting package name into shell-parsed installation commands. The installation runs before the bubblewrap or firejail sandbox is applied to the launched server, allowing arbitrary operating system commands to execute on the application host and potentially expose secrets or other tenants' data. The earlier path validation did not protect these install-time shell calls. This issue is fixed in version 4.0.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pluggedin-appto a version that resolves this vulnerability.Fixed in 4.0.0
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated user who can add a STDIO MCP server can exploit the issue by supplying crafted server arguments. The vulnerable installation path can execute commands on the application host before the server sandbox is applied.
Are sandboxing controls such as bubblewrap or firejail sufficient mitigation?
No. The vulnerable package installation occurs before bubblewrap or firejail is applied to the launched MCP server, so those controls do not protect the install-time command execution.
Which versions should be remediated?
Versions prior to 4.0.0 are affected. Upgrade to version 4.0.0, which fixes the issue.
What should be restricted if an upgrade cannot be applied immediately?
Restrict authenticated users' ability to add STDIO MCP servers, since that capability is the described exploitation path. Treat hosts running affected versions as potentially exposed to command execution and possible secret or cross-tenant data exposure.