{"id":"CVE-2026-117561","published":"2026-10-27T14:16:38.270","lastModified":"2026-10-27T16:04:22.707","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.","cvssScore":7.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-78"],"vendors":[],"products":[],"references":[{"url":"https://github.com/codefriar/sf-mcp","tags":[]},{"url":"https://github.com/codefriar/sf-mcp/blob/beb103dced68962e0c069b62cb377286751d0103/src/utils.ts#L79-L90","tags":[]},{"url":"https://github.com/codefriar/sf-mcp/issues/17","tags":[]},{"url":"https://www.vulncheck.com/advisories/sf-mcp-through-1.3.2-os-command-injection-via-salesforce-cli-flag-values","tags":[]}],"exploitRefs":[{"url":"https://github.com/codefriar/sf-mcp","tags":[]},{"url":"https://github.com/codefriar/sf-mcp/blob/beb103dced68962e0c069b62cb377286751d0103/src/utils.ts#L79-L90","tags":[]},{"url":"https://github.com/codefriar/sf-mcp/issues/17","tags":[]}],"hasPoc":true,"ai":null}