Composio
cpe:2.3:a:composio:composio:*:*:*:*:*:*:*
- >= 0.5.40
A command execution vulnerability has been identified in Composio versions through 0.5.40. This issue arises in the 'composio_openai', 'composio_claude', and 'composio_julep' plugins, specifically within the 'handle_tool_calls' function. The vulnerability allows for arbitrary command execution by injecting malicious input into tool calls, exploiting insufficient input validation.
Exploitation of this vulnerability allows for arbitrary command execution on the agent's local environment, potentially compromising the system's integrity and confidentiality.
The vulnerability can be reproduced by using the Composio toolset for OpenAI or Claude. After initializing the toolset and obtaining the appropriate tools, a prompt can be crafted to inject commands into the 'SHELLTOOL_SPAWN_PROCESS' function, which is designed to execute system commands. Once the injected command is executed, the output can be captured and verified.
Users are advised to upgrade to Composio version 0.6.9 or later, where this vulnerability has been fixed.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.