Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
8DescriptionCVE.org
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.
AnalysisAI
Command injection in bazinga012 mcp_code_executor up to version 0.3.0 allows local attackers with user-level privileges to execute arbitrary commands through the installDependencies function in src/index.ts. Public exploit code exists for this vulnerability, affecting Python and Node.js environments. A patch is available and should be applied to remediate this local privilege escalation risk.
Technical ContextAI
The mcp_code_executor is a Model Context Protocol code execution utility that programmatically manages package dependencies. The vulnerability is classified as CWE-77 (Improper Neutralization of Special Elements used in a Command), which represents failures in command injection prevention. The installDependencies function in src/index.ts directly processes user-controlled input without proper escaping or parameterization before passing it to shell execution contexts, allowing attackers to inject arbitrary shell metacharacters and commands. The affected product is identified through CPE identifier patterns related to the bazinga012 mcp_code_executor package across versions 0.1.0 through 0.3.0.
RemediationAI
Immediately cease usage of mcp_code_executor versions 0.3.0 and earlier until a patched version is released. Monitor the official bazinga012 mcp_code_executor repository for security updates and apply the patch version once available. As interim protective measures, restrict execution of the installDependencies function to trusted, isolated execution contexts with minimal privilege, disable local code execution features if not required, implement strict input validation on any user-controllable parameters passed to the function, and run the tool in containerized environments with resource limits and user privilege separation to restrict the blast radius of command injection exploitation. For organizations awaiting a patch, consider using an alternative dependency management solution or implementing a wrapper script that validates and sanitizes all input before passing it to the mcp_code_executor.
Same weakness CWE-77 – Command Injection
View allSame technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-12269