CVE-2026-117561
sf-mcp through 1.3.2 OS Command Injection via Salesforce CLI Flag Values
CVSS Score
7.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-78 |
| Vendor | codefriar |
| Product | sf-mcp |
| Published | Oct 27, 2026 |
Stay Ahead of the Next One
Get instant alerts for codefriar sf-mcp
Be the first to know when new high vulnerabilities affecting codefriar sf-mcp are published — delivered to Slack, Telegram or Discord.
Get Free Alerts →
Free · No credit card · 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
codefriar / sf-mcp
0 ≤ 1.3.2
References
github.com: https://github.com/codefriar/sf-mcp/issues/17 github.com: https://github.com/codefriar/sf-mcp github.com: https://github.com/codefriar/sf-mcp/blob/beb103dced68962e0c069b62cb377286751d0103/src/utils.ts#L79-L90 vulncheck.com: https://www.vulncheck.com/advisories/sf-mcp-through-1.3.2-os-command-injection-via-salesforce-cli-flag-values
Credits
Nguyễn Văn Tiến