{"id":"CVE-2026-117561","aliases":[],"title":"sf-mcp through 1.3.2 OS Command Injection via Salesforce CLI Flag Values","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.","severity":"high","score":8.5,"published":"2026-10-27T13:07:56.281Z","modified":"2026-10-27T13:07:56.281Z","withdrawn":false,"knownExploited":false,"affected":[],"references":["https://github.com/codefriar/sf-mcp/issues/17","https://github.com/codefriar/sf-mcp","https://github.com/codefriar/sf-mcp/blob/beb103dced68962e0c069b62cb377286751d0103/src/utils.ts#L79-L90","https://www.vulncheck.com/advisories/sf-mcp-through-1.3.2-os-command-injection-via-salesforce-cli-flag-values"],"sources":[{"name":"CVE","id":"CVE-2026-117561","modified":"2026-10-27T13:07:56.281Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-117561"}],"assessments":[{"source":"CNA","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","score":8.5},{"source":"CNA","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8}]}