| Titel | eyal-gor p_69_branch_monkey_mcp d77e757 Command Injection |
|---|
| Beschreibung | 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. |
|---|
| Quelle | ⚠️ https://github.com/eyal-gor/p_69_branch_monkey_mcp/issues/8 |
|---|
| Benutzer | LargeW (UID 97302) |
|---|
| Einreichung | 14.04.2026 15:20 (vor 2 Monaten) |
|---|
| Moderieren | 01.05.2026 11:35 (17 days later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 360543 [eyal-gor p_69_branch_monkey_mcp bis 69bc71874ce40050ef45fde5a435855f18af3373 Preview Endpoint advanced.py dev_script erweiterte Rechte] |
|---|
| Punkte | 20 |
|---|