Skip to content

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

HighCVSS 8.5 EPSS 0.96%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
npm sf-mcp <= 1.3.2 after 1.3.2 Fixed

Affected products

ProductAffected versionsFixed in
npm sf-mcp <= 1.3.2 No fix listed

References