INCIDENT MAP

Browse / Improper Output Handling / CVE-2024-8864

Composio Code Injection Vulnerability

CVE-2024-8864 ยท 2024-09-16 moderate

Class
Improper Output Handling (filed by a model that read the advisory)
Technique
Code and command execution
Also involves
MCP and Tool Server Flaws
Affected
composio-core (PyPI)
CVSS
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
EPSS
0.8% chance of exploitation in 30 days

How it works, in short

The Calculator tool passes model-supplied expressions into code evaluation, so text the model produces can execute arbitrary code. (Our summary, written by a model. The source text is below.)

Details

A vulnerability has been found in composiohq composio up to 0.5.6 and classified as critical. Affected by this vulnerability is the function Calculator of the file python/composio/tools/local/mathematical/actions/calculator.py. The manipulation leads to code injection. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

References

Source: GitHub Advisory Database, used under CC BY 4.0.