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

Published Oct 27, 2026
·
Updated

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 Software

1 affected component
Codefriar sf-mcp<=1.3.2

Event History

Oct 27, 2026
CVE Published
via MITRE·01:07 PM
Data Sourced
via MITRE·01:07 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An attacker needs the ability to supply crafted values for Salesforce CLI tool flags to the sf-mcp MCP server. The injected commands execute with the privileges of the user running that server.

2

Which releases are affected?

sf-mcp versions through 1.3.2 are affected.

3

What input patterns make exploitation possible?

Flag values containing shell metacharacters that are not neutralized by escapeValue(), including backticks and $() command substitution, can reach execSync and be interpreted by the shell.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203