threatdeck
Live 14:45 UTC ·

AI Stack Alert High CVE-2026-117561 For AppSec, AI Eng, SOC / IR, CISO AI-assisted

CVE-2026-117561: OS command injection in Codefriar sf-mcp through 1.3.2

Codefriar sf-mcp through version 1.3.2 contains an OS command injection flaw. escapeValue() in src/utils.ts does not neutralize backticks, $() substitution, and other shell metacharacters in Salesforce CLI flag values. Those values reach execSync in executeSfCommand and run as the MCP server user. The CVSS base score is 8.5.

Why it matters

Any party that can supply crafted Salesforce CLI flag values to sf-mcp can run shell commands as the MCP server user. This exposes hosts running the server, including any credentials and Salesforce tokens that user can read.

Do this

  1. Identify hosts running Codefriar sf-mcp at version 1.3.2 or earlier, and check for a fixed release from the vendor.
  2. Upgrade sf-mcp to a fixed version once published. If none is available, remove or disable the server until it is patched.
  3. Restrict which clients and users can send tool requests to sf-mcp, and run the server under a least-privilege account.
  4. Review logs of sf-mcp tool calls for flag values containing backticks, $(), or other shell metacharacters.
  5. Rotate Salesforce CLI auth tokens and other secrets readable by the MCP server user if exploitation is suspected.

Exploit Clock

Exploitation unlikely (for now)

  • EPSS 0.65%

Signals

  • NoCISA KEV
  • 8.5CVSS
  • 0.65%EPSS
  • NoPublic PoC
  • 34/100Priority
  • 70%Confidence

Evidence

“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.”

NVD (AI keyword search)

“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.”

NVD (AI keyword search)

Sources

Affected / related

sf-mcp, Codefriar, OS command injection

Published 2026-10-27 14:16 UTC · updated 2026-11-08 02:42 UTC · AI-assisted summary, checked against quoted sources · How we score

Following

Follow the vendors, products, AI tools, techniques and actors you care about. Matching stories, CVEs and exploited bugs are marked, a Following tab appears in the feed, and returning visits show what changed. Saved only in this browser.

Presets

Get updates

A personal RSS feed of new stories on everything you follow. Paste it into any feed reader, Slack or Teams RSS app.