CVE-2026-117561
sf-mcp through 1.3.2 OS Command Injection via Salesforce CLI Flag Values
codefriar sf-mcp
CVSS
8.5HighExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)No scoreNo FIRST EPSS score in this snapshot yet
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
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.
Text from CVE List
Affected versions 1
- sf-mcpaffected: all versions through 1.3.2CVE List
References 4
- vulncheck.com/advisories/sf-mcp-through-1.3.2-os-command-injection-via-salesforce-cli-flag-valuesAdvisoryvia CVE List
- github.com/codefriar/sf-mcp/issues/17Referencevia CVE List
- github.com/codefriar/sf-mcpReferencevia CVE List
- github.com/codefriar/sf-mcp/blob/beb103dced68962e0c069b62cb377286751d0103/src/utils.ts#L79-L90Referencevia CVE List