CVE-2026-117561
Codefriar sf-mcp through 1.3.2 contains an OS command injection …
Codefriar sf-mcp through 1.3.2 contains an OS command injection vulnerability that allows attackers to execute shell commands by supplying crafted Salesforce CLI tool flag values. Because escapeValue() in src/utils.ts fails to neutralize backticks, $() substitution, and other shell metacharacters, these values reach execSync in executeSfCommand and run as the MCP server user.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/codefriar/sf-mcp
- github.com/codefriar/sf-mcp/blob/beb103dced68962e0c069b62cb377286751d0103/src/utils.ts#L79
- github.com/codefriar/sf-mcp/issues/17
- www.vulncheck.com/advisories/sf-mcp-through-1.3.2-os-command-injection-via-salesforce-cli-
- nvd.nist.gov/vuln/detail/CVE-2026-117561
- cve.org/CVERecord?id=CVE-2026-117561
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.