CVE-2026-6980 Divyanshu-hash GitPilot-MCP main.py repo_path command injection
Remote attackers can execute arbitrary commands via the repo_path function in GitPilot-MCP due to improper input validation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-6980?
CVE-2026-6980 is a medium-severity command injection vulnerability in Divyanshu-hash GitPilot-MCP, published on 25 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A vulnerability has been found in Divyanshu-hash GitPilot-MCP up to 9ed9f153ba4158a2ad230ee4871b25130da29ffd. This impacts the function repo_path of the file main.py. Such manipulation of the argument command leads to command injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. This product does not use versioning. This is why information about affected and unaffected releases are unavailable. The vendor was contacted early about this disclosure but did not respond in any way.
Which versions are affected by CVE-2026-6980?
How do I fix CVE-2026-6980?
No fix has been published for CVE-2026-6980 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-6980 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-6980 exists.
Sources
Also known as GHSA-jmwq-ff9m-82mc.