npm
CVE-2026-117561
sf-mcp through 1.3.2 OS Command Injection via Salesforce CLI Flag Values
- Severity
- High 8.5
- Published
- 27 Oct 2026
- Last changed
- 5 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Exploit chance
- 1% in the next 30 daysHigher than 62% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- OS command injection (CWE-78)
- Attack
- Needs local access · Needs a user account · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
sf-mcpnpm · osv:npm:sf-mcp |
|
About sf-mcp
- Weekly downloads (npm)
- 24npm, 24 Nov 2026
This is the only vulnerability in sf-mcp in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-117561