/

CVE-2026-132264

Severity:

HIGH RISK

(8.1)

Authorization Bypass (CWE-863) in AutoGPT AutoPilot

CVE-2026-132264

Received

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-270, CWE-863

Impact:

Privilege Escalation and Unauthorized Access to Account Resources

Severity:

HIGH RISK

(8.1)

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 versions 0.6.63 through 0.10.0 allow an external API key or OAuth token with only EXECUTE_BLOCK permission to run AutoPilotBlock and receive a full, unattended AutoPilot turn. This can expose the account owner's stored credentials, library agents, and workspace files, and allow use of AutoPilot's sandboxed shell beyond the access intended for that permission.

Affected context

The issue affects AutoGPT's external API authorization path for AutoPilotBlock in versions 0.6.63 through 0.10.0. It is relevant when a caller has an API key or OAuth token limited to EXECUTE_BLOCK and the associated account has resources, such as third-party credentials, library agents, or workspace files, available to AutoPilot.

Exploit preconditions

  • Attack surface: AutoGPT's external API endpoint for running AutoPilotBlock
  • Required access: An API key or OAuth token with EXECUTE_BLOCK permission
  • Trigger point: A request that invokes AutoPilotBlock through the external API
  • Why exploitation is possible: The authorization boundary permits a limited-permission caller to start a full, unattended AutoPilot turn, which can use account resources and capabilities not directly permitted to that key

Why this happens

The authorization check does not adequately constrain the capabilities available through AutoPilotBlock. As a result, a permission intended for block execution can reach a broader workflow that uses the account owner's resources. This is an incorrect authorization condition (CWE-863) and reflects improper privilege management (CWE-270): the effective privileges of the operation exceed those granted to the caller.

Potential impact

  • A caller may use the account owner's stored third-party credentials through AutoPilot.
  • A caller could access or use library agents and workspace files available to the account.
  • A caller may run AutoPilot's sandboxed shell as part of an unattended turn.
  • The account owner's connected services or data could be exposed or affected.

General mitigation guidance

Defensive patterns include enforcing authorization at the point each sensitive capability or resource is accessed, rather than relying only on permission to start a broader workflow. Keep workflow execution scoped to the caller's granted privileges, use explicit capability allowlists, and avoid automatically inheriting owner credentials or workspace access. Apply least privilege to tokens and integrations, and require appropriate validation or approval for unattended actions.

How teams detect issues like this

Review authorization checks on external API routes that launch multi-step workflows, especially where a narrow permission can invoke operations with broader capabilities. Look for gaps between a token's declared scope and the resources or tools available during execution. Audit logs for AutoPilotBlock calls made with EXECUTE_BLOCK-only credentials, and use static analysis, code review, or policy checks to flag privilege expansion across API and workflow boundaries.

Sources

SourceLink
github.comgithub.com/Significant-Gravitas/AutoGPT/commit/19b7276f70f2e053e1c44bee161657afd9d2f60d
github.comgithub.com/Significant-Gravitas/AutoGPT/releases/tag/autogpt-platform-beta-v0.11.0
github.comgithub.com/Significant-Gravitas/AutoGPT/security/advisories/GHSA-8vm3-rxfw-5867

Frequently asked

questions

A holder of an external API key or OAuth token with EXECUTE_BLOCK permission may be able to invoke AutoPilotBlock and receive broader capabilities than that permission should provide.

The caller needs a qualifying token. The potential exposure depends on what credentials, agents, and workspace files are available to the associated account and AutoPilot.

Enforce authorization for each sensitive capability and resource, and ensure workflow execution cannot exceed the caller's granted permissions.

Keep token scopes narrow, avoid implicit inheritance of account-owner privileges, and review workflows for privilege expansion at every API-to-capability boundary.

Find out what's already
exploitable in your codebase.