Vulnerability 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 Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/codefriar/sf-mcp
- https://github.com/codefriar/sf-mcp/blob/beb103dced68962e0c069b62cb377286751d010
- https://github.com/codefriar/sf-mcp/issues/17
- https://www.vulncheck.com/advisories/sf-mcp-through-1.3.2-os-command-injection-v
FAQ
What is CVE-2026-117561?
CVE-2026-117561 is a vulnerability with a CVSS score of 7.8 (HIGH). 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(...
How severe is CVE-2026-117561?
CVE-2026-117561 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-117561?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.