CVE-2024-8953: Composio Eval Injection Vulnerability
In composiohq/composio version 0.4.3, the mathematicalcalculator 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.
Published Mar 20, 2025 · Updated Mar 22, 2025
Affected packages
composio-core
- Ecosystem
- PyPI
- Affected
- < 0.5.43
- Fixed in
- 0.5.43
- Check
pip show composio-core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
- https://nvd.nist.gov/vuln/detail/CVE-2024-8953
- https://huntr.com/bounties/8203d721-e05f-4500-a5bc-c0bec980420c
- https://github.com/ComposioHQ/composio/commit/ed82fb45dc9fbd7f07c535c72bada871c158ae5f
- https://github.com/ComposioHQ/composio/blob/b932d99e67f0fe95f8a0a24be9352e3f99059bc3/python/composio/tools/local/mathematical/actions/calculator.py#L37
- https://github.com/advisories/GHSA-5xg7-5662-8x7j
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2024-8952
composio Server-Side Request Forgery (SSRF) vulnerability
medium6.8No fixMar 20, 2025CVE-2024-8955
composio allows Server-Side Request Forgery (SSRF) in BROWSERTOOL
medium6.8No fixMar 20, 2025CVE-2024-8864
Composio Code Injection Vulnerability
medium5.5No fixSep 16, 2024CVE-2024-8865
Composio Path Traversal vulnerability
medium3.5No fixSep 16, 2024
