GitHub Advisoryadvisory · PyPI
GHSA-5xg7-5662-8x7j Composio Eval Injection Vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2024-8953
- Ecosystem
- PyPI
- Packages
- composio-core
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-627
- Reviewed
- 2025-03-22
Affected packages
• PyPI composio-core: < 0.5.43 → fixed in 0.5.43
Description
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.
Related
Alias · CVE (1)
- CVE-2024-8953 In composiohq/composio version 0.4.3, the mathematical_calculator endpoint uses the unsafe eval() function to perform mathematical… vulnerability
Weakness · CWE (1)
- CWE-627 Dynamic Variable Evaluation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-8953 advisory
- https://github.com/ComposioHQ/composio/commit/ed82fb45dc9fbd7f07c535c72bada871c158ae5f web
- https://github.com/ComposioHQ/composio-js package
- https://github.com/ComposioHQ/composio/blob/b932d99e67f0fe95f8a0a24be9352e3f99059bc3/python/composio/tools/local/mathematical/actions/calculator.py#L37 web
- https://huntr.com/bounties/8203d721-e05f-4500-a5bc-c0bec980420c web