AutoGPT is Vulnerable to RCE via Disabled Block Execution
Significant-Gravitas AutoGPT
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| agpt PyPI |
| No fix yet |
Original description
AutoGPT is a platform that allows users to create, deploy, and manage continuous artificial intelligence agents that automate complex workflows. Prior to autogpt-platform-beta-v0.6.44, AutoGPT Platform's block execution endpoints (both main web API and external API) allow executing blocks by UUID without checking the `disabled` flag. Any authenticated user can execute the disabled `BlockInstallationBlock`, which writes arbitrary Python code to the server filesystem and executes it via `__import__()`, achieving Remote Code Execution. In default self-hosted deployments where Supabase signup is enabled, an attacker can self-register; if signup is disabled (e.g., hosted), the attacker needs an existing account. autogpt-platform-beta-v0.6.44 contains a fix.
From the CVE record · GitHub_M
References
- github.com/Significant-Gravitas/AutoGPT/security/advisories/GHSA-r277-3xc5-c79vVendor advisory
- github.com/Significant-Gravitas/AutoGPT/blob/master/autogpt_platform/backend/backend/api/external/v1/routes.py#L79-L93
- github.com/Significant-Gravitas/AutoGPT/blob/master/autogpt_platform/backend/backend/api/features/v1.py#L1408-L1424
- github.com/Significant-Gravitas/AutoGPT/blob/master/autogpt_platform/backend/backend/api/features/v1.py#L355-L395
- github.com/Significant-Gravitas/AutoGPT/blob/master/autogpt_platform/backend/backend/blocks/block.py#L15-L78
- github.com/Significant-Gravitas/AutoGPT/blob/master/autogpt_platform/backend/backend/data/block.py#L459
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24780.json
- nvd.nist.gov/vuln/detail/CVE-2026-24780
- github.com/Significant-Gravitas/AutoGPT
- pypi.org/project/agpt
- github.com/advisories/GHSA-r277-3xc5-c79v