CVE-2026-4496 sigmade Git-MCP-Server gitUtils.ts child_process.exec os command injection
Local attackers can execute arbitrary OS commands via the show_merge_diff function in the Git-MCP-Server tool.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-4496?
CVE-2026-4496 is a medium-severity command injection vulnerability in sigmade Git-MCP-Server, published on 20 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A vulnerability was found in sigmade Git-MCP-Server up to 785aa159f262a02d5791a5d8a8e13c507ac42880. Affected by this vulnerability is the function child_process.exec of the file src/gitUtils.ts of the component show_merge_diff/quick_merge_summary/show_file_diff. The manipulation results in os command injection. The attack must be initiated from a local position. The exploit has been made public and could be used. This product operates on a rolling release basis, ensuring continuous delivery. Consequently, there are no version details for either affected or updated releases. It is advisable to implement a patch to correct this issue. The vendor was contacted early about this disclosure but did not respond in any way.
Which versions are affected by CVE-2026-4496?
How do I fix CVE-2026-4496?
No fix has been published for CVE-2026-4496 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-4496 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-4496 exists.
Sources
Also known as GHSA-m2rq-r53v-mvq4.