AI Stack Alert High CVE-2026-117561 For AppSec, AI Eng, SOC / IR, CISO AI-assisted
CVE-2026-117561: OS command injection in Codefriar sf-mcp through 1.3.2
Codefriar sf-mcp through version 1.3.2 contains an OS command injection flaw. escapeValue() in src/utils.ts does not neutralize backticks, $() substitution, and other shell metacharacters in Salesforce CLI flag values. Those values reach execSync in executeSfCommand and run as the MCP server user. The CVSS base score is 8.5.
Why it matters
Any party that can supply crafted Salesforce CLI flag values to sf-mcp can run shell commands as the MCP server user. This exposes hosts running the server, including any credentials and Salesforce tokens that user can read.
Do this
- Identify hosts running Codefriar sf-mcp at version 1.3.2 or earlier, and check for a fixed release from the vendor.
- Upgrade sf-mcp to a fixed version once published. If none is available, remove or disable the server until it is patched.
- Restrict which clients and users can send tool requests to sf-mcp, and run the server under a least-privilege account.
- Review logs of sf-mcp tool calls for flag values containing backticks, $(), or other shell metacharacters.
- Rotate Salesforce CLI auth tokens and other secrets readable by the MCP server user if exploitation is suspected.
Exploit Clock
Exploitation unlikely (for now)
- EPSS 0.65%
Signals
- NoCISA KEV
- 8.5CVSS
- 0.65%EPSS
- NoPublic PoC
- 34/100Priority
- 70%Confidence
Evidence
“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.”
Sources
Affected / related
sf-mcp, Codefriar, OS command injection
Published 2026-10-27 14:16 UTC · updated 2026-11-08 02:42 UTC · AI-assisted summary, checked against quoted sources · How we score