CVE-2026-117561
JSON

8.5high

sf-mcp through 1.3.2 OS Command Injection via Salesforce CLI Flag Values

Severity
8.5high CVSS:4.0 by VulnCheck
Exploit likelihood
1.58% (higher than 76% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
codefriar sf-mcpup to 1.3.2CVE List

All scores

VulnCheck8.5high CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-78

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-117561 changed 2026-11-05CVE Terms of Use
NVDCVE-2026-117561 changed 2026-11-05Public domain