{"id":"CVE-2024-8864","aliases":["CVE-2024-8864","GHSA-mrmh-3hqh-pfw7","PYSEC-2026-1266"],"related":[],"kind":"vulnerability","state":"published","title":"composiohq composio calculator.py Calculator code injection","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"de","text":"In composiohq composio bis 0.5.6 wurde eine Schwachstelle gefunden. Sie wurde als kritisch eingestuft. Das betrifft die Funktion Calculator der Datei python/composio/tools/local/mathematical/actions/calculator.py. Durch Manipulation mit unbekannten Daten kann eine code injection-Schwachstelle ausgenutzt werden. Der Exploit steht zur öffentlichen Verfügung.","source":"cvelist"},{"lang":"es","text":"Se ha encontrado una vulnerabilidad en composiohq composio hasta la versión 0.5.6 y se ha clasificado como crítica. Esta vulnerabilidad afecta a la función Calculator del archivo python/composio/tools/local/mathematical/actions/calculator.py. La manipulación conduce a la inyección de código. El exploit se ha hecho público y puede utilizarse. Se contactó primeramente con el proveedor sobre esta divulgación, pero no respondió de ninguna manera.","source":"nvd"}],"published":"2024-09-15T00:31:04.359Z","modified":"2026-07-07T17:57:01.175Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":5.1,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":5.1,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.5,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.5,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:A/AC:L/Au:S/C:P/I:P/A:P","score":5.2,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"0.5.0","status":"affected"},{"version":"0.5.1","status":"affected"},{"version":"0.5.2","status":"affected"},{"version":"0.5.3","status":"affected"},{"version":"0.5.4","status":"affected"},{"version":"0.5.5","status":"affected"},{"version":"0.5.6","status":"affected"}],"vendor":"composiohq","product":"composio","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0.5.0","lastAffected":"0.5.6","status":"affected"}],"vendor":"composiohq","product":"composio","cpe":"cpe:2.3:a:composiohq:composio:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.5.6"}],"ecosystem":"PyPI","package":"composio-core","purl":"pkg:pypi/composio-core","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"0.5.6"}],"vendor":"composio","product":"composio","cpe":"cpe:2.3:a:composio:composio:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.5.6"}],"ecosystem":"PyPI","package":"composio-core","purl":"pkg:pypi/composio-core","source":"pysec"}],"references":[{"url":"https://vuldb.com/?id.277501","tags":["technical-description","third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/?ctiid.277501","tags":["permissions-required","signature","third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/?submit.403204","tags":["third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://rumbling-slice-eb0.notion.site/Composio-s-Local-tools-Mathematical-has-a-code-injection-risk-in-composiohq-composio-ea0e89ee10fe4edfb9a8cfeed158c765?pvs=4","tags":["exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8864","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/ComposioHQ/composio","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/ComposioHQ/composio/blob/v0.5.6/python/composio/tools/local/mathematical/actions/calculator.py#L29","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/composio-core","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-mrmh-3hqh-pfw7","tags":["advisory"],"sources":["pysec"]}],"credits":["aftersnow (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-09-16T20:19:37.159Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-8864","url":"https://www.cve.org/CVERecord?id=CVE-2024-8864","licence":"CVE Terms of Use","modified":"2024-09-16T20:20:11.603Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mrmh-3hqh-pfw7","url":"https://github.com/advisories/GHSA-mrmh-3hqh-pfw7","licence":"CC-BY-4.0","modified":"2026-07-07T17:57:01.175Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-8864","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8864","licence":"Public domain","modified":"2026-06-17T08:23:26.800Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1266","url":"https://osv.dev/vulnerability/PYSEC-2026-1266","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:11.976Z"}],"updatedAt":"2026-11-25T22:58:45.435Z","epss":{"score":0.0083,"percentile":0.58678,"date":"2026-12-01T12:00:22.000Z"}}