sf-mcp-server has a Command Injection in query_records tool due to unsafe use of child_process.exec
Summary
sf-mcp-server has a Command Injection in query_records tool due to unsafe use of child_process.exec
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com