CVE-2026-132260 in AutoGPT
Summary
by MITRE • 11/25/2026
AutoGPT is a workflow automation platform for creating, deploying, and managing continuous artificial intelligence agents. From 0.4.2 before 0.11.0, the E2B code-execution blocks ExecuteCodeBlock, InstantiateCodeSandboxBlock, and ClaudeCodeBlock can leave sandboxes running on the operator's shared E2B credential for up to the sandbox's full timeout, while users are billed only for the block's run time. Any user with a positive credit balance can keep sandboxes running for up to 24 hours on a Pro plan for a flat 1 credit, and each run adds another sandbox. This issue is fixed in version 0.11.0.
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Analysis
by VulDB Data Team • 11/25/2026
The vulnerability identified within AutoGPT versions prior to 0.11.0 represents a significant resource management flaw that exploits the integration between the application's workflow automation engine and the E2B cloud-based code execution infrastructure. AutoGPT functions as a platform for creating, deploying, and managing continuous artificial intelligence agents, relying heavily on external sandboxes to execute untrusted or semi-trusted Python code blocks such as ExecuteCodeBlock, InstantiateCodeSandboxBlock, and ClaudeCodeBlock. The core technical flaw lies in the lifecycle management of these execution environments. When an agent initiates a code block, it provisions a sandbox instance using shared credentials associated with the operator's account. Ideally, this sandbox should be terminated immediately upon completion or failure to prevent resource leakage. However, due to improper cleanup logic within the specified versions, the sandboxes are not destroyed when they finish their tasks. Instead, they remain active and running on the operator's infrastructure for up to the full timeout duration configured in the E2B environment settings.
This architectural oversight creates a severe financial and operational impact through an abuse of billing mechanisms. The pricing model provided by E2B typically charges users based on the actual runtime of the sandbox instances rather than their mere existence or allocation status. Consequently, while AutoGPT only bills for the active execution time of the code block, the underlying infrastructure continues to consume compute resources and maintain open connections long after the task has concluded. This discrepancy allows malicious actors or poorly configured workflows to exploit this gap by repeatedly triggering these blocks without proper termination protocols. Each invocation adds another sandbox instance that persists in a running state, effectively creating a denial-of-service condition against the operator's own billing limits and infrastructure capacity.
The severity of this issue is amplified by the ease with which it can be exploited within AutoGPT's credit system. Any user possessing a positive credit balance has the ability to trigger these vulnerable blocks repeatedly. On a Pro plan, for instance, a single credit allows for up to 24 hours of sandbox runtime at a flat rate. By chaining multiple executions or keeping sandboxes alive through continuous interaction, an attacker can exhaust available credits rapidly while simultaneously consuming significant cloud resources. This not only leads to unexpected financial costs but also risks degrading the performance of legitimate workflows running on the same shared infrastructure due to resource contention. The persistence of these idle processes for up to 24 hours means that even if a user stops interacting with an agent, the background consumption continues unchecked until the timeout expires or manual intervention occurs.
From a classification perspective, this vulnerability aligns closely with CWE-787: Out-of-bounds Write in terms of resource exhaustion principles, though more accurately it falls under CWE-409: Improper Handling of Highly Compressed Data (Data Amplification) and CWE-1321: Improperly Controlled Sequential Memory Allocation when viewed through the lens of resource management. In the context of the MITRE ATT&CK framework, this behavior mirrors techniques associated with Resource Hijacking, specifically T1496: Resource Hijacking via Cloud Infrastructure or general Denial of Service tactics where an adversary consumes resources to disrupt service availability for legitimate users. The lack of automated garbage collection for ephemeral compute instances highlights a failure in implementing robust lifecycle management policies within the automation framework.
To mitigate this vulnerability and prevent further exploitation, it is imperative that operators upgrade AutoGPT to version 0.11.0 or later, where these sandbox cleanup mechanisms have been corrected. For environments still running older versions, immediate manual intervention is required to identify and terminate any lingering E2B sandboxes associated with the operator's credentials. Additionally, implementing strict rate limiting on code execution blocks can help curb rapid-fire provisioning of new instances. Operators should also review their billing alerts and set hard limits on concurrent sandbox counts within the E2B dashboard to provide an additional layer of defense against resource exhaustion attacks. Ensuring that automation workflows include explicit termination commands for all spawned processes is a critical best practice to maintain both financial integrity and system stability in AI-driven agent ecosystems.