Skip to content
Heist/ feed
Back to feed
High

sf-mcp-server has a Command Injection in query_records tool due to unsafe use of child_process.exec

Type: advisorySources: OSV

sf-mcp-server is an implementation of Salesforce MCP server for Claude for Desktop. A command injection vulnerability exists in sf-mcp-server due to unsafe use of child_process.exec when constructing Salesforce CLI commands with user-controlled input. Successful exploitation allows attackers to execute arbitrary shell commands with the privileges of the MCP server process.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-26029
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 17:59 UTC · Revision 1

Source evidence

sf-mcp-server has a Command Injection in query_records tool due to unsafe use of child_process.exec

core-osv · Original source

Published 11 Feb 2026, 21:25 UTC

sf-mcp-server is an implementation of Salesforce MCP server for Claude for Desktop. A command injection vulnerability exists in sf-mcp-server due to unsafe use of child_process.exec when constructing Salesforce CLI commands with user-controlled input. Successful exploitation allows attackers to execute arbitrary shell commands with the privileges of the MCP server process.

osv:CVE-2026-26029
Complete source record
{
  "id": "5b799f194f13ee0ffa66cd59a2c55952d5ca95eeaa7ec0a3869b17bf562fac01",
  "url": "https://osv.dev/vulnerability/CVE-2026-26029",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "sf-mcp-server has a Command Injection in query_records tool due to unsafe use of child_process.exec",
    "summary": "sf-mcp-server is an implementation of Salesforce MCP server for Claude for Desktop. A command injection vulnerability exists in sf-mcp-server due to unsafe use of child_process.exec when constructing Salesforce CLI commands with user-controlled input. Successful exploitation allows attackers to execute arbitrary shell commands with the privileges of the MCP server process.",
    "evidence": "osv:CVE-2026-26029",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-26029",
      "aliases": [
        "CVE-2026-26029",
        "GHSA-h4w9-g9c5-vfwq"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/akutishevsky/sf-mcp-server",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "99fba0171b8c22b5ee3c0405053ccfd2910a066d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "99fba0171b8c22b5ee3c0405053ccfd2910a066d"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-26029.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:31.023080778Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26029.json",
        "https://github.com/akutishevsky/sf-mcp-server/security/advisories/GHSA-h4w9-g9c5-vfwq",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-26029",
        "https://github.com/akutishevsky/sf-mcp-server/commit/99fba0171b8c22b5ee3c0405053ccfd2910a066d"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-78"
        ],
        "cna_assigner": "GitHub_M",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "1.0.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26029.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-26029",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 498095,
  "published_at": "2026-02-11T21:25:57.164+00:00"
}