| Titre | eyal-gor p_69_branch_monkey_mcp d77e757 Command Injection |
|---|
| Description | 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. |
|---|
| La source | ⚠️ https://github.com/eyal-gor/p_69_branch_monkey_mcp/issues/8 |
|---|
| Utilisateur | LargeW (UID 97302) |
|---|
| Soumission | 14/04/2026 15:20 (il y a 6 mois) |
|---|
| Modérer | 01/05/2026 11:35 (17 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 360543 [eyal-gor p_69_branch_monkey_mcp Preview Endpoint advanced.py dev_script élévation de privilèges] |
|---|
| Points | 20 |
|---|