High severity · published Oct 27, 2026
CVE-2026-117561
sf-mcp through 1.3.2 OS Command Injection via Salesforce CLI Flag Values
New
7.8
CVSS
–
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SF
sf-mcp · codefriar
through 1.3.2 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-117561
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-117561
github.com
https://github.com/codefriar/sf-mcp
github.com
https://github.com/codefriar/sf-mcp/blob/beb103dced68962e0c069b62cb377286751d0103/src/utils.ts#L79-L90
github.com
https://github.com/codefriar/sf-mcp/issues/17
www.vulncheck.com
https://www.vulncheck.com/advisories/sf-mcp-through-1.3.2-os-command-injection-via-salesforce-cli-flag-values
