/

CVE-2026-133462

Severity:

HIGH RISK

(8.7)

Confused Deputy (CWE-441) in AutoGPT MCPToolBlock Access

CVE-2026-133462

Received

Vulnerability type

Category:

Confused Deputy / Improper Authorization

CWE:

CWE-441, CWE-863

Impact:

Unauthorized use of MCP credentials and access to MCP server data or operations

Severity:

HIGH RISK

(8.7)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

AutoGPT's MCPToolBlock can use the MCP credentials of a person running a shared agent, even though the agent was authored by someone else. If the runner has connected to the MCP server named in the block, the author may be able to cause the agent to perform server-supported actions and send the results to a destination they control.

Affected context

The issue affects AutoGPT versions from 0.6.49 to before 0.11.0 when a shared agent includes an MCPToolBlock node that uses auto-lookup. The risk arises when a person runs that agent and has already connected to the MCP server URL named by the node. The node may then use the runner's connection to perform actions exposed by that server, with results sent to a host selected by the agent's author.

Exploit preconditions

  • Attack surface: Execution of a shared AutoGPT agent containing an MCPToolBlock node
  • Required access: The author must be able to create or share the agent; the runner must have a connection to the MCP server URL named by the node
  • Trigger point: The runner executes the shared agent and the MCPToolBlock performs its auto-lookup
  • Why exploitation is possible: The block can use the runner's MCP credentials without adequate authorization separation between the agent author's intent and the runner's granted access

Why this happens

The MCPToolBlock's auto-lookup can act as an unintended intermediary: an agent authored by one party can exercise the MCP connection and authority of the person running it. This is a confused-deputy pattern mapped to CWE-441. The lack of sufficient authorization checks around the use of the runner's connection also relates to CWE-863: Incorrect Authorization.

Potential impact

  • An agent author could cause actions exposed by the connected MCP server to be performed using the runner's credentials.
  • Private data returned by the server could be sent to a host chosen by the author.
  • Depending on the server's capabilities, data could be modified or deleted.
  • The runner's trust in shared agents could lead to unauthorized use of connected services.

General mitigation guidance

Defensive design centers on separating an agent author's requests from the runner's authority.

  • Require explicit, informed user approval before a shared agent uses a personal MCP connection or performs sensitive actions.
  • Apply per-action authorization checks and narrowly scoped credentials rather than implicitly forwarding a user's full connection authority.
  • Make the target server and requested operation visible to the runner, and constrain where results may be sent.
  • Use secure-by-default behavior that denies access to personal connections unless the runner explicitly grants it.
  • Limit the permissions and data exposure of MCP connections to what the workflow requires.

How teams detect issues like this

  • Review code paths where shared workflows resolve or access a runner's stored MCP connections.
  • Use static analysis and code review to identify implicit credential use, missing per-action authorization, or data being sent to author-controlled destinations.
  • Test policy enforcement to confirm that shared agents cannot use personal connections or perform sensitive operations without explicit approval.
  • Monitor agent executions for unexpected MCP actions, unusual data transfers, and operations inconsistent with the runner's granted intent.

Sources

SourceLink
github.comgithub.com/Significant-Gravitas/AutoGPT/commit/a10e5b2333aa2fbd2b385686e85605c24a7841d2
github.comgithub.com/Significant-Gravitas/AutoGPT/releases/tag/autogpt-platform-beta-v0.11.0
github.comgithub.com/Significant-Gravitas/AutoGPT/security/advisories/GHSA-rjgp-whm3-w5mj

Frequently asked

questions

A person who runs a shared agent containing an MCPToolBlock node may be affected if they have already connected to the MCP server URL named by that node.

The described behavior allows the block to use the runner's existing MCP connection; the author does not need to possess the credentials directly.

Require explicit runner consent and enforce authorization for each MCP action, using narrowly scoped permissions rather than implicitly granting a shared agent access to a personal connection.

Keep agent authorship separate from runner authority, make sensitive actions and data destinations transparent, and enforce least privilege and policy checks at the point of access.

Find out what's already
exploitable in your codebase.