CVE-2026-25650: MCP-Salesforce's arbitrary attribute access leads to disclosure of Salesforce auth token
MCP-Salesforce (pip package `mcp-salesforce-connector`) before 0.1.10 lets a caller read attributes of its Salesforce client through the `object_name` argument. This can disclose the Salesforce OAuth bearer token the server uses. Upgrade to 0.1.10 and rotate the token.
Published Feb 6, 2026 · Updated Feb 8, 2026 · Analysis Nov 1, 2026
What an attacker can do
handle_call_tool in src/salesforce/server.py called getattr(sf_client.sf, object_name) with object_name taken from the tool call. A valid value is a Salesforce object such as Account. Because any attribute name was accepted, a caller could instead name another attribute of the client object, including one that holds the session or bearer token. The advisory states the impact as disclosure of the Salesforce OAuth bearer tokens used by the MCP server.
The attacker needs to control the arguments of a tool call. For an MCP server, that is the connected agent, so a prompt injection in content the agent reads, or a user of a shared agent, can trigger it. The advisory vector (CVSS 4.0, 8.7) needs no privileges and no interaction, with high confidentiality impact only. A leaked token lets the attacker call the Salesforce API directly with the permissions of the connected account, outside the MCP server, until the token expires or is revoked.
Who is affected
mcp-salesforce-connector versions below 0.1.10. Any deployment where an agent or user can send tool calls to the server is exposed, since the flaw is in how the server handles the object name.
pip show mcp-salesforce-connectorCheck MCP client configs too: a launcher such as uvx may run a cached older version.
mcp-salesforce-connector
- Ecosystem
- PyPI
- Affected
- < 0.1.10
- Fixed in
- 0.1.10
- Check
pip show mcp-salesforce-connector
How to fix it
Upgrade to 0.1.10:
pip install --upgrade "mcp-salesforce-connector>=0.1.10"The fix adds a check in handle_call_tool that the object obtained from the client is an SFType from simple_salesforce, and raises ValueError("Invalid Salesforce object name: ...") otherwise. The advisory's workaround is to rotate any Salesforce tokens or credentials the server used. Do that even after upgrading, because a token read earlier remains valid until revoked.
How to tell if you were hit
Review MCP tool-call logs for the Salesforce server and look for object_name values that are not Salesforce object names, such as names starting with an underscore or names like session_id, headers or base_url. In Salesforce, check login history and API usage for the connected app from unfamiliar IP addresses. Beam records MCP tool calls from the agents it watches, so those arguments are available for review there.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Impact
_Disclosure of Salesforce OAuth bearer tokens used by the MCP._
Patches
_fix applied in 0.1.10_
Workarounds
_Rotate any Salesforce tokens/credentials used by MCP-Salesforce._
Credited to nirhaas.
Questions
- What does the attacker get from CVE-2026-25650?
The Salesforce OAuth bearer token used by the MCP server. With it they can call the Salesforce API with the connected account's permissions.
- Is upgrading enough?
Not alone. The advisory's workaround is to rotate the Salesforce tokens and credentials the server used, because a token that was already disclosed stays valid until revoked.
- Does it need a Salesforce login?
No separate login. The attacker only needs to control a tool call argument sent to the server, which the CVSS vector scores as no privileges and no user interaction.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More Other MCP servers and tools vulnerabilities
All Other MCP servers and tools entriesCVE-2026-102943
Dagu MCP DAG specification read bypasses path containment and workspace isolation
medium6.5Nov 10, 2026CVE-2026-102610
fast-agent: `fast-agent serve` binds HTTP to 0.0.0.0 with no authentication by default; with --shell this is unauthenticated remote command execution
medium6.4Nov 9, 2026CVE-2026-63655
tsParticles: Unbounded HTTP Request Body Buffering in @tsparticles/mcp-server Leads to Remote DoS
high7.5Nov 9, 2026CVE-2026-76892
tsParticles: Malformed JSON requests can terminate the @tsparticles/mcp-server HTTP process
high8.7Nov 9, 2026CVE-2026-76893
tsParticles: A single anonymous MCP session can monopolize HTTP mode and deny new clients
medium6.9Nov 9, 2026CVE-2026-77604
Code Graph RAG: MCP paginated read_file path traversal / arbitrary file read
high7.5Nov 9, 2026
