# CVE-2024-8864: composiohq composio calculator.py Calculator code injection

- Severity: Medium 5.1 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- 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): 0.83%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-09-15T00:31:04.359Z
- Modified: 2026-07-07T17:57:01.175Z
- Also known as: GHSA-mrmh-3hqh-pfw7, PYSEC-2026-1266
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- composiohq composio: 0.5.0; 0.5.1; 0.5.2; 0.5.3; 0.5.4; 0.5.5; 0.5.6; from 0.5.0 up to 0.5.6
- composio-core (PyPI): up to 0.5.6
- composio composio: up to 0.5.6

## Every score

- VulDB: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- VulDB: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 5.5 Medium `CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 5.2 Medium `AV:A/AC:L/Au:S/C:P/I:P/A:P`
- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://rumbling-slice-eb0.notion.site/Composio-s-Local-tools-Mathematical-has-a-code-injection-risk-in-composiohq-composio-ea0e89ee10fe4edfb9a8cfeed158c765?pvs=4> (exploit, third-party-advisory, web)
- <https://vuldb.com/?id.277501> (technical-description, third-party-advisory, vdb-entry, web)
- <https://vuldb.com/?ctiid.277501> (permissions-required, signature, third-party-advisory, vdb-entry, web)
- <https://vuldb.com/?submit.403204> (third-party-advisory, vdb-entry, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-8864> (advisory)
- <https://github.com/ComposioHQ/composio> (package)
- <https://github.com/ComposioHQ/composio/blob/v0.5.6/python/composio/tools/local/mathematical/actions/calculator.py#L29> (web)
- <https://pypi.org/project/composio-core> (package)
- <https://github.com/advisories/GHSA-mrmh-3hqh-pfw7> (advisory)

## Sources

- CVE List: [CVE-2024-8864](https://www.cve.org/CVERecord?id=CVE-2024-8864), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-mrmh-3hqh-pfw7](https://github.com/advisories/GHSA-mrmh-3hqh-pfw7), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2024-8864](https://nvd.nist.gov/vuln/detail/CVE-2024-8864), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1266](https://osv.dev/vulnerability/PYSEC-2026-1266), CC-BY-4.0, modified 2026-07-07

---

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