{"id":"CVE-2026-117561","revision":"b8f0ecf6e9274a1ba9f3a36d22dba9a9","records":[{"revision":"b8f0ecf6e9274a1ba9f3a36d22dba9a9","observedAt":"2026-10-27T15:09:21.953+00:00","statement":{"source":"cve-program","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.","state":0,"publishedAt":"2026-10-27T13:07:56.281+00:00","modifiedAt":"2026-10-27T13:07:56.281+00:00","affected":[{"ecosystem":"Vendor product","name":"sf-mcp","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"codefriar\",\n                    \"product\": \"sf-mcp\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:npm/sf-mcp\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"1.3.2\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","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,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-117561","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-117561","identifiers":["CVE-2026-117561"]},"retained":false,"historicalAffected":[]}],"coverage":[]}