{"id":"CVE-2026-117561","summary":"sf-mcp through 1.3.2 OS Command Injection via Salesforce CLI Flag Values","details":"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.","modified":"2026-11-07T02:30:21.326193549Z","published":"2026-10-27T13:07:56.281Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-78"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/117xxx/CVE-2026-117561.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/117xxx/CVE-2026-117561.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-117561"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/sf-mcp-through-1.3.2-os-command-injection-via-salesforce-cli-flag-values"},{"type":"REPORT","url":"https://github.com/codefriar/sf-mcp/issues/17"},{"type":"PACKAGE","url":"https://github.com/codefriar/sf-mcp"},{"type":"ARTICLE","url":"https://github.com/codefriar/sf-mcp/blob/beb103dced68962e0c069b62cb377286751d0103/src/utils.ts#L79-L90"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/codefriar/sf-mcp","events":[{"introduced":"0"},{"last_affected":"beb103dced68962e0c069b62cb377286751d0103"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"1.3.2"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"introduced":"0"},{"last_affected":"1.3.2"}],"source":"DESCRIPTION"}]}}],"versions":["v1.3.2","v1.3.1","v1.3.0","v1.1.1","v1.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-117561.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}