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.
Problem types
Product status
0.2
0.3.0
Timeline
| 2026-03-15: | Advisory disclosed |
| 2026-03-15: | VulDB entry created |
| 2026-03-15: | VulDB entry last update |
Credits
Yinci Chen (VulDB User)
References
vuldb.com/?id.351111 (VDB-351111 | bazinga012 mcp_code_executor index.ts installDependencies command injection)
vuldb.com/?ctiid.351111 (VDB-351111 | CTI Indicators (IOB, IOC, TTP, IOA))
vuldb.com/?submit.770424 (Submit #770424 | bazinga012 mcp_code_executor <=0.3.0 Command Injection)
github.com/bazinga012/mcp_code_executor/issues/17
github.com/...931133/mcp_code_executor_security_advisory.pdf
github.com/...mmits/a94ec2fea318597646ba1c44d8e44eb1c9196d20
github.com/bazinga012/mcp_code_executor/