CVE-2026-4199 bazinga012 mcp_code_executor index.ts installDependencies command injection

Medium 4.8 Published Updated

Local attackers can execute arbitrary commands via the installDependencies function in the mcp_code_executor library.

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-4199?

CVE-2026-4199 is a medium-severity command injection vulnerability in bazinga012 mcp_code_executor, published on 16 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 identified in bazinga012 mcp_code_executor up to 0.3.0. Affected by this issue is the function installDependencies of the file src/index.ts. Such manipulation leads to command injection. The attack can only be performed from a local environment. The exploit is publicly available and might be used. It is best practice to apply a patch to resolve this issue. The project was informed of the problem early through an issue report but has not responded yet.

Weakness: CWE-77, CWE-74

Which versions are affected by CVE-2026-4199?

How do I fix CVE-2026-4199?

No fix has been published for CVE-2026-4199 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-4199 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-4199 exists.

Sources

Also known as GHSA-wf6m-m2x3-f49p.

Is CVE-2026-4199 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free