CVE-2026-117561 sf-mcp through 1.3.2 OS Command Injection via Salesforce CLI Flag Values
HighCVSS 8.5
EPSS 0.96%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm sf-mcp | <= 1.3.2 | after 1.3.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm sf-mcp | <= 1.3.2 | No fix listed |
References
- GitHub Issue #17 exploit issue-tracking
- github.com product
- github.com technical-description
- VulnCheck Advisory: sf-mcp through 1.3.2 OS Command Injection via Salesforce CLI Flag Values third-party-advisory
- ENISA EUVD EUVD-2026-110839 third-party-advisory