CVE-2026-117561
published high CVSS 4.0 · 8.5sf-mcp through 1.3.2 OS Command Injection via Salesforce CLI Flag Values
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| codefriar | — | sf-mcp0 through 1.3.2 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| codefriar | sf-mcp | 0 through 1.3.2 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
4- https://github.com/codefriar/sf-mcp
- https://github.com/codefriar/sf-mcp/blob/beb103dced68962e0c069b62cb377286751d0103/src/utils.ts#L79-L90
- GitHub Issue #17 https://github.com/codefriar/sf-mcp/issues/17
- VulnCheck Advisory: sf-mcp through 1.3.2 OS Command Injection via Salesforce CLI Flag Values https://www.vulncheck.com/advisories/sf-mcp-through-1.3.2-os-command-injection-via-salesforce-cli-flag-values
Provider assertions
2VulnCheck · cna
sf-mcp through 1.3.2 OS Command Injection via Salesforce CLI Flag Values
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f7bc4fcc6745d9cbcaf81528ff60bbf326dd3ec39eb534707623cbb97aa62a6b
- Ingested
- 07 Nov 2026, 23:38:48 UTC
- Source record
- Official CVE record