---
id: CVE-2024-8864
aliases:
  - GHSA-mrmh-3hqh-pfw7
  - PYSEC-2026-1266
title: Composio Code Injection Vulnerability
summary: Composio Code Injection Vulnerability
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L'
vendor: composio-core
product: composio-core
ecosystem: pip
affected:
  - composio-core <= 0.5.6
published: '2024-09-16'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-mrmh-3hqh-pfw7'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-8864'
  - url: 'https://github.com/ComposioHQ/composio'
  - url: >-
      https://github.com/ComposioHQ/composio/blob/v0.5.6/python/composio/tools/local/mathematical/actions/calculator.py#L29
  - url: >-
      https://rumbling-slice-eb0.notion.site/Composio-s-Local-tools-Mathematical-has-a-code-injection-risk-in-composiohq-composio-ea0e89ee10fe4edfb9a8cfeed158c765?pvs=4
  - url: 'https://vuldb.com/?ctiid.277501'
  - url: 'https://vuldb.com/?id.277501'
  - url: 'https://vuldb.com/?submit.403204'
tags:
  - osv
  - pip
epss: 0.0083
epssPercentile: 0.56059
ingestedAt: '2026-07-08T18:25:51.434Z'
---

## Overview

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.

## Affected packages

- `composio-core <= 0.5.6`

## Remediation

Refer to the advisory for the patched release.
