| タイトル | deepwisdom MetaGPT v0.8.1 Remote command execution |
|---|
| 説明 | The vulnerable component is located in `metagpt/ext/aflow/scripts/operator.py`. The `Programmer` class is used to pass user-controlled natural language questions to the `code_generate` method for LLM to generate code. The `sanitize` method checks and filters the AST structure of the code, and the `run_code` method implements security restrictions on the import of libraries such as command execution and sets global variables to null. Finally, execution is achieved through `exec(code, global_namespace)` in `run_code`. However, attackers can generate bypassable malicious Python code through carefully crafted prompt control, thereby remotely running arbitrary commands on the host machine. |
|---|
| ソース | ⚠️ https://github.com/Ka7arotto/cve/blob/main/metagpt-rce1.md |
|---|
| ユーザー | Goku (UID 80486) |
|---|
| 送信 | 2026年03月06日 12:57 (7 月 ago) |
|---|
| モデレーション | 2026年03月20日 15:40 (14 days later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 352080 [Foundation Agents MetaGPT 迄 0.8.1 operator.py code_generate 特権昇格] |
|---|
| ポイント | 20 |
|---|