# CVE-2024-8953: Unsafe eval usage in composiohq/composio

- Severity: High 7.2 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.27%, higher than 70% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:10:56.507Z
- Modified: 2026-07-07T17:57:35.756Z
- Also known as: GHSA-5xg7-5662-8x7j, PYSEC-2026-1264
- Weaknesses: CWE-627, CWE-913
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- composiohq composiohq/composio: from unspecified up to latest
- composio-core (PyPI): before 0.5.43
- composio composio: 0.4.3

## Every score

- @huntr_ai: CVSS:3.0 7.2 High `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.0 7.2 High `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.0 7.2 High `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://huntr.com/bounties/8203d721-e05f-4500-a5bc-c0bec980420c> (exploit, web)
- <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://pypi.org/project/composio-core> (package)
- <https://github.com/advisories/GHSA-5xg7-5662-8x7j> (advisory)

## Sources

- CVE List: [CVE-2024-8953](https://www.cve.org/CVERecord?id=CVE-2024-8953), CVE Terms of Use, modified 2025-03-20
- GitHub Advisory Database: [GHSA-5xg7-5662-8x7j](https://github.com/advisories/GHSA-5xg7-5662-8x7j), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2024-8953](https://nvd.nist.gov/vuln/detail/CVE-2024-8953), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1264](https://osv.dev/vulnerability/PYSEC-2026-1264), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-8953 · Whole record: https://cve.day/CVE-2024-8953.json · Rebuilt by cve.day 2026-11-25T22:58:52.402Z
