PyPA Advisory Database
PYSEC-2026-1266
Composio Code Injection Vulnerability
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | composio-core | All versions up to and including 0.5.6 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-8864
- https://github.com/ComposioHQ/composio
- https://github.com/ComposioHQ/composio/blob/v0.5.6/python/composio/tools/local/mathematical/actions/calculator.py#L29
- https://rumbling-slice-eb0.notion.site/Composio-s-Local-tools-Mathematical-has-a-code-injection-risk-in-composiohq-composio-ea0e89ee10fe4edfb9a8cfeed158c765?pvs=4
- https://vuldb.com/?ctiid.277501
- https://vuldb.com/?id.277501
- https://vuldb.com/?submit.403204
- https://pypi.org/project/composio-core
- https://github.com/advisories/GHSA-mrmh-3hqh-pfw7