# GHSA-RJGP-WHM3-W5MJ: AutoGPT Platform Backend: MCPToolBlock Auto-Lookup Lets a Shared Agent's Author Use the Runner's MCP Credentials

- Database: GitHub
- Severity: CVSS 8.7 (High)
- Published: 2026-11-17
- Modified: 2026-11-20

## Tracked as

- [CVE-2026-133462](https://cve.now/CVE-2026-133462.md): AutoGPT authorization bypass in MCPToolBlock auto-lookup

## Description

The author of a shared AutoGPT agent (a marketplace listing or an imported agent file) could make an `MCPToolBlock` node call any tool, with any arguments, on the MCP server account of whoever ran the agent, even when the runner selected no credential for that node, and route the result anywhere with an ordinary outbound block. Upgrade to v0.11.0 or later.

### Impact

Anyone who ran a shared agent containing an `MCPToolBlock` node, and had already connected the MCP server URL the node named, had that connection used however the node's author chose, covering any read, write or delete the server exposed, with the result sent to a host of the author's choosing. The token itself was never disclosed, and leaving the node's credential slot empty did not protect the runner, because the slot could be made to show as optional with no server name and the run record showed no credential as used.

### Fix

**Fixed in [AutoGPT Platform v0.11.0](https://github.com/Significant-Gravitas/AutoGPT/releases/tag/autogpt-platform-beta-v0.11.0).**

The block no longer looks a credential up on its own, so only one the user explicitly selected is ever used, and a selected credential whose own saved server address does not match the node's is refused. A companion change in the executor lets a credential the runner picks for the run reach the block, which the removal would otherwise have made unreachable for any marketplace MCP agent.

Fix evidence: [a10e5b2333aa](https://github.com/Significant-Gravitas/AutoGPT/commit/a10e5b2333aa2fbd2b385686e85605c24a7841d2).

Upgrade to v0.11.0 or later. Version numbers in this advisory identify Platform releases, whose Git tags are `autogpt-platform-beta-v<VERSION>`, rather than the backend Python package version. The `significantgravitas/autogpt` Docker image is tagged `v<VERSION>`.

### Workarounds

Do not run a shared agent from an author you do not trust if it contains an `MCPToolBlock` node naming an MCP server you have connected, or disconnect that server's credential first.

---

### Details

`MCPToolBlock.run()` (`backend/blocks/mcp/block.py`) accepts an empty `credentials` field, by design, since an MCP server may need no authentication. When the node reached `run()` with no credential supplied, it looked up the best match among the runner's own stored MCP credentials by comparing their saved server URL with the node's `server_url`, a value the node's author saved. The lookup was unconditional: it did not check that the credential had ever been selected, by anyone, for this node or run.

A second gap compounded this: the executor's MCP branch (`backend/executor/manager.py`, in `execute_node`) rebuilt the node's input strictly from the node's own saved defaults, so a credential the runner did pick when starting the run was discarded before the block executed. A shared agent's `MCPToolBlock` node therefore always ran with a credential the lookup chose by server URL alone. For the hosted MCP servers the platform offers, the URL the author needed was a public constant.

The fix removes the lookup, so only an explicitly selected credential is used, refuses a selected credential whose saved server address does not match the node's, and lets a credential the runner picks for the run reach the block. This is supported platform code.

The defect was introduced with the block itself, in `f9f358c5263b` (#12011, 2026-02-13), first released in v0.6.49. The single-container Docker image (`significantgravitas/autogpt`, published from v0.7.1) ships the same block, marketplace and agent import, so it was affected the same way.

### References

Fix evidence: [a10e5b2333aa](https://github.com/Significant-Gravitas/AutoGPT/commit/a10e5b2333aa2fbd2b385686e85605c24a7841d2).

### Timeline

Reported 2026-10-30 · Triaged 2026-10-31 · Fixed 2026-11-01 · Published 2026-11-17.

A special thank you to Anthropic (@anthropics) for including us in Project Glasswing. Their automated vulnerability scanning and CVP (cyber-enabled inference) access have enabled us to make a leap in our cyber defense capabilities and secure the AutoGPT Platform.

## References

- https://github.com/Significant-Gravitas/AutoGPT/security/advisories/GHSA-rjgp-whm3-w5mj

Page: https://cve.now/GHSA-RJGP-WHM3-W5MJ

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
