A vulnerability was determined in mcp-use up to 1.7.1. Affected by this vulnerability is the function buildnamespace of the file libraries/python/mcpuse/client/codeexecutor.py of the component CodeExecutor. Executing a manipulation of the argument code can lead to code injection. The attack can be launched remotely. The project maintainer explains, that the built-in Python sandbox executor is not meant for production use and users should rely on external sandbox providers.
A vulnerability was determined in mcp-use up to 1.7.1. Affected by this vulnerability is the function buildnamespace of the file libraries/python/mcpuse/client/codeexecutor.py of the component CodeExecutor. Executing a manipulation of the argument code can lead to code injection. The attack can be launched remotely. The project maintainer explains, that the built-in Python sandbox executor is not meant for production use and users should rely on external sandbox providers.