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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| bazinga012 | mcp_code_executor | 0.1, 0.2, 0.3.0 | — |
References
- VDB-351111 | bazinga012 mcp_code_executor index.ts installDependencies command injection vdb-entry technical-description
- VDB-351111 | CTI Indicators (IOB, IOC, TTP, IOA) signature permissions-required
- Submit #770424 | bazinga012 mcp_code_executor <=0.3.0 Command Injection third-party-advisory
- https://github.com/bazinga012/mcp_code_executor/issues/17 issue-tracking
- https://github.com/user-attachments/files/25931133/mcp_code_executor_security_advisory.pdf exploit
- https://github.com/bazinga012/mcp_code_executor/pull/18/commits/a94ec2fea318597646ba1c44d8e44eb1c9196d20 issue-tracking patch
- https://github.com/bazinga012/mcp_code_executor/ product