INCIDENT MAP

Browse / MCP and Tool Server Flaws / CVE-2024-8953

Composio Eval Injection Vulnerability

CVE-2024-8953 ยท 2025-03-20 high

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

How it works, in short

The calculator tool passes user-supplied expressions to eval(), so a crafted math input runs arbitrary code in the server process. (Our summary, written by a model. The source text is below.)

Details

In composiohq/composio version 0.4.3, the mathematical_calculator endpoint uses the unsafe eval() function to perform mathematical operations. This can lead to arbitrary code execution if untrusted input is passed to the eval() function.

References

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