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.
History

Wed, 28 Oct 2026 22:30:00 +0000

Type Values Removed Values Added
First Time appeared Codefriar
Codefriar sf-mcp
Vendors & Products Codefriar
Codefriar sf-mcp

Tue, 27 Oct 2026 13:45:00 +0000

Type Values Removed Values Added
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.
Title sf-mcp through 1.3.2 OS Command Injection via Salesforce CLI Flag Values
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-10-27T13:07:56.281Z

Updated: 2026-10-27T13:07:56.281Z

Reserved: 2026-10-27T11:25:22.921Z

Link: CVE-2026-117561

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-27T14:16:38.270

Modified: 2026-10-27T16:04:22.707

Link: CVE-2026-117561

cve-icon Redhat

No data.