AutoGPT Affected by Remote Code Execution via Dynamic Module Import in Block Loading (__import__)
Description
AutoGPT is a platform that allows users to create, deploy, and manage continuous artificial intelligence agents that automate complex workflows. Prior to 0.6.48, an authenticated user could achieve Remote Code Execution (RCE) on the backend server by embedding a disabled block inside a graph. The BlockInstallationBlock — a development tool capable of writing and importing arbitrary Python code — was marked disabled=True, but graph validation did not enforce this flag. This allowed any authenticated user to bypass the restriction by including the block as a node in a graph, rather than calling the block's execution endpoint directly (which did enforce the flag). This vulnerability is fixed in 0.6.48.
Affected products
1- Range: < 0.6.48
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/Significant-Gravitas/AutoGPT/commit/062fe1aa709217136b896c8b950e0f04435afb32mitrex_refsource_MISC
- github.com/Significant-Gravitas/AutoGPT/releases/tag/autogpt-platform-beta-v0.6.48mitrex_refsource_MISC
- github.com/Significant-Gravitas/AutoGPT/security/advisories/GHSA-4crw-9p35-9x54mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.