Submit #795502: Divyanshu-hash GitPilot-MCP 9ed9f153ba4158a2ad230ee4871b25130da29ffd Command Injectioninfo

TitleDivyanshu-hash GitPilot-MCP 9ed9f153ba4158a2ad230ee4871b25130da29ffd Command Injection
DescriptionThe 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.
Source⚠️ https://github.com/wing3e/public_exp/issues/38
User
 BigW (UID 96422)
Submission04/02/2026 15:16 (23 days ago)
Moderation04/24/2026 20:56 (22 days later)
StatusAccepted
VulDB entry359523 [Divyanshu-hash GitPilot-MCP up to 9ed9f153ba4158a2ad230ee4871b25130da29ffd main.py repo_path command command injection]
Points20

Want to know what is going to be exploited?

We predict KEV entries!