sf-mcp-server has a Command Injection in query_records tool due to unsafe use of child_process.exec
akutishevsky sf-mcp-server
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| akutishevsky sf-mcp-server |
| No fix yet |
Original description
sf-mcp-server is an implementation of Salesforce MCP server for Claude for Desktop. A command injection vulnerability exists in sf-mcp-server due to unsafe use of child_process.exec when constructing Salesforce CLI commands with user-controlled input. Successful exploitation allows attackers to execute arbitrary shell commands with the privileges of the MCP server process.
From the CVE record · GitHub_M