Denial of service
Description
Three of AutoGPT Platform's E2B-backed code-execution blocks, ExecuteCodeBlock, InstantiateCodeSandboxBlock and ClaudeCodeBlock, could leave an E2B sandbox running on the operator's own E2B account for up to the sandbox's full timeout, while the platform billed the user only for the seconds the block's node took to run. Operators who offer the platform E2B credential should upgrade to v0.11.0 or later.
Impact
On a deployment offering the platform E2B credential, any user with a positive credit balance could keep sandboxes running on the operator's E2B account for up to E2B's plan maximum (24 hours on Pro) for a flat 1 credit each, about 240 times below the intended price for a 2-vCPU box and more for a larger template. Each run added another sandbox, limited only by the user's balance, and the kept sandboxes also counted against the operator's E2B concurrency limit.
Fix
Fixed in AutoGPT Platform v0.11.0.
When one of these blocks runs on the platform's shared E2B credential, a sandbox it keeps is now paused or disposed of as soon as the block finishes, so it no longer runs on the operator's account beyond what the block charged for. A sandbox on the user's own E2B credential behaves as before.
Fix evidence: 41b8eb611598.
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.
Workarounds
Disable the platform E2B credential (E2B_API_KEY, offered to users as "Use Credits for E2B"); a user's own E2B credential is unaffected, since its sandboxes run and are billed on that user's own E2B account. Otherwise watch the E2B team dashboard for unexpectedly long-lived or numerous sandboxes.
---
Details
On a deployment where the operator had configured a platform-wide E2B credential, any user who selected that credential controlled two inputs that decided what happened to the sandbox after a node finished: the sandbox's own timeout (unbounded, forwarded unchanged to AsyncSandbox.create) and dispose_sandbox (whether the block kills the sandbox once the node returns).
BaseE2BExecutorMixin.execute_code (autogpt_platform/backend/backend/blocks/code_executor.py) killed the sandbox in its finally block only when dispose_sandbox was true; otherwise it returned and left the sandbox running toward its timeout. InstantiateCodeSandboxBlock never set dispose_sandbox, so it always kept its box; ExecuteCodeBlock exposed the flag to the user. ClaudeCodeBlock.execute_claude_code (claude_code.py) had the same conditional kill in its own finally. InstantiateCodeSandboxBlock returned the sandbox id, so a kept box could be reached again, with the outbound network access the blocks describe.
The cost entries for these blocks (backend/data/block_cost_config.py) charged BlockCostType.SECOND, 1 credit per 10 seconds, against the node's own walltime. Creating a sandbox and returning took well under 10 seconds, so the charge was a flat 1 credit whatever the requested timeout. Nothing listed, tracked or later cleaned up these sandboxes; the template_id input was free text, so a larger E2B template cost more. This is a different gap from GHSA-8pjg-mfqm-vrhr, where the charge was skipped entirely: here a charge was made, but sized on the node's duration rather than the sandbox's lifetime. This is supported platform code.
The single-container Docker image runs with the credit system off by default (enable_credit), so no block run is charged there and it is not listed as affected.
References
Fix evidence: 41b8eb611598. Related: GHSA-8pjg-mfqm-vrhr.
Timeline
Reported 2026-10-31 · 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.