| عنوان | eyal-gor p_69_branch_monkey_mcp d77e757 Command Injection |
|---|
| الوصف | The time-machine preview feature creates a temporary worktree for a requested commit and optionally starts a dev server. If the caller provides dev_script, the server does:
command = request.dev_script.replace("{port}", str(port))
subprocess.Popen(command, shell=True, cwd=str(work_path), ...)
Because the string is executed through the system shell, metacharacters such as ;, &&, $(), or shell redirection are interpreted. An attacker only needs to provide any valid local Git repository path and a valid commit SHA to turn this endpoint into arbitrary OS command execution. |
|---|
| المصدر | ⚠️ https://github.com/eyal-gor/p_69_branch_monkey_mcp/issues/8 |
|---|
| المستخدم | LargeW (UID 97302) |
|---|
| ارسال | 14/04/2026 03:20 PM (2 أشهر منذ) |
|---|
| الاعتدال | 01/05/2026 11:35 AM (17 days later) |
|---|
| الحالة | تمت الموافقة |
|---|
| إدخال VulDB | 360543 [eyal-gor p_69_branch_monkey_mcp حتى 69bc71874ce40050ef45fde5a435855f18af3373 Preview Endpoint advanced.py dev_script تجاوز الصلاحيات] |
|---|
| النقاط | 20 |
|---|