# GHSA-98G6-R386-569H: Sandbox file extraction has no cumulative byte or file-count limit

- Database: GitHub
- Severity: medium (stated by ghsa, no CVSS score)
- Published: 2026-11-17
- Modified: 2026-11-20

## Tracked as

- [CVE-2026-132265](https://cve.now/CVE-2026-132265.md): AutoGPT denial of service in sandbox file extraction

## Description

The code-execution blocks (`ExecuteCodeBlock` and `ClaudeCodeBlock`) could copy the files a run produced out of its E2B sandbox with no limit on how many files, or how many bytes in total, one extraction pulled into the executor. A user who could run one of these blocks could exhaust the shared workflow executor's memory. Upgrade to v0.11.0 or later, or to the v0.11.1 Docker image.

### Impact

A user who could run a code-execution block that extracts files could exhaust the memory of the shared workflow executor, interrupting other users' runs on it. Each file was allowed up to 50 MB by a size the sandbox itself reported.

### Fix

**Fixed in [AutoGPT Platform v0.11.0](https://github.com/Significant-Gravitas/AutoGPT/releases/tag/autogpt-platform-beta-v0.11.0).**

One extraction now shares a combined budget (`max_total_file_size_mb`, 500 MB by default) on top of the 50 MB per-file limit, and each read stops at the remaining limit whatever size the sandbox reports.

Fix: [#16495](https://github.com/Significant-Gravitas/AutoGPT/pull/16495).

Fix evidence: [92e68de3f40c](https://github.com/Significant-Gravitas/AutoGPT/commit/92e68de3f40ccbed8c09675be6debb97a7025cbb).

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>`.

The Docker image is fixed in [AutoGPT Platform v0.11.1](https://github.com/Significant-Gravitas/AutoGPT/releases/tag/autogpt-platform-beta-v0.11.1).
<!-- security-release: {"tag": "autogpt-platform-beta-v0.11.0", "package": {"ecosystem": "other", "name": "autogpt-platform-beta"}} -->
<!-- security-release: {"tag": "autogpt-platform-beta-v0.11.1", "package": {"ecosystem": "other", "name": "significantgravitas/autogpt"}} -->

### Workarounds

None.

---

### Details

`extract_sandbox_files` in `autogpt_platform/backend/backend/util/sandbox_files.py` ran `find` in the sandbox, checked each file's size with `stat` inside the sandbox (so the sandbox decided what size was reported), and read every file under the 50 MB per-file limit in full with `sandbox.files.read()`. It held all of them in one list before storing them, and encoding the files for the block's output raised peak memory further. Nothing limited how many files, or how many bytes in total, one extraction could read. It was called through `extract_and_store_sandbox_files` from `autogpt_platform/backend/backend/blocks/code_executor.py` and `autogpt_platform/backend/backend/blocks/claude_code.py`.

### References

- Fix: [#16495](https://github.com/Significant-Gravitas/AutoGPT/pull/16495), commit [92e68de3f40c](https://github.com/Significant-Gravitas/AutoGPT/commit/92e68de3f40ccbed8c09675be6debb97a7025cbb), first released in [v0.11.0](https://github.com/Significant-Gravitas/AutoGPT/releases/tag/autogpt-platform-beta-v0.11.0)

### Timeline

Reported 2026-11-01 · Triaged 2026-11-01 · Fixed 2026-11-04 · Published 2026-11-17.

## References

- https://github.com/Significant-Gravitas/AutoGPT/security/advisories/GHSA-98g6-r386-569h

Page: https://cve.now/GHSA-98G6-R386-569H

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