← Back to search

CVE-2026-117561

7.8 HIGHpublic exploit available

Published 2026-10-27 · Updated 2026-10-27

AI risk analysis

Summary
Codefriar sf-mcp through 1.3.2 contains an OS command injection vulnerability in its Salesforce CLI integration: unescaped shell metacharacters (e.g., backticks, $()) in flag values are passed directly to execSync, allowing authenticated local attackers with low privileges to execute arbitrary commands as the MCP server user.
Exploitability
Exploitation requires local access and a valid low-privilege account to invoke the vulnerable sf-mcp endpoint with crafted CLI flags; no network or privilege escalation is needed beyond that.
Blast radius
Successful exploitation grants full compromise of the affected system—including confidentiality, integrity, and availability—as the attacker runs commands with the same privileges as the MCP server process.
Detection
Defenders should monitor for unexpected child processes spawned by the MCP server process (e.g., /bin/sh, bash, or cmd.exe) with command lines containing backticks, $(), or other shell metacharacters in arguments; such patterns may indicate exploitation attempts. If no such logging is available, no reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to Codefriar sf-mcp version 1.3.3 or later, which patches the escapeValue() function to neutralize shell metacharacters before passing them to execSync.
os-command-injectionrceclimcpsalesforce

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-78

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.