CVE-2026-4198 hypermodel-labs mcp-server-auto-commit index.ts getGitChanges command injection
Local attackers can execute arbitrary commands via the getGitChanges function in the mcp-server-auto-commit 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-4198?
CVE-2026-4198 is a medium-severity command injection vulnerability in hypermodel-labs mcp-server-auto-commit, published on 15 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 determined in hypermodel-labs mcp-server-auto-commit 1.0.0. Affected by this vulnerability is the function getGitChanges of the file index.ts. This manipulation causes command injection. The attack can only be executed locally. The exploit has been publicly disclosed and may be utilized. Patch name: f7d992c830c5f2ec5749852e66c0195e3ed7fe30. Applying a patch is the recommended action to fix this issue. The project was informed of the problem early through an issue report but has not responded yet.
Which versions are affected by CVE-2026-4198?
How do I fix CVE-2026-4198?
No fix has been published for CVE-2026-4198 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-4198 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-4198 exists.
Sources
Also known as GHSA-2jfp-p8r8-g24g.