| Título | Divyanshu-hash GitPilot-MCP 9ed9f153ba4158a2ad230ee4871b25130da29ffd Command Injection |
|---|
| Descrição | The run_tests tool accepts an attacker-controlled command argument and executes it with shell=True. Because the parameter is not validated or restricted to known test runners, a malicious caller can inject arbitrary shell commands.
run_tests(repo_path, command) directly exposes command to callers.
subprocess.run(command, shell=True, cwd=repo_path, ...) executes the string through a shell.
No command allowlist or escaping is applied. |
|---|
| Fonte | ⚠️ https://github.com/wing3e/public_exp/issues/38 |
|---|
| Utilizador | BigW (UID 96422) |
|---|
| Submissão | 02/04/2026 15h16 (há 25 dias) |
|---|
| Moderação | 24/04/2026 20h56 (22 days later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 359523 [Divyanshu-hash GitPilot-MCP até 9ed9f153ba4158a2ad230ee4871b25130da29ffd main.py repo_path command Elevação de Privilégios] |
|---|
| Pontos | 20 |
|---|