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

Medium 5.1 Published Updated

Attackers can execute arbitrary code via the Calculator function in the composio Python library, posing a critical security risk.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-8864?

CVE-2024-8864 is a medium-severity code injection vulnerability in composiohq composio, published on 15 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-94

Which versions are affected by CVE-2024-8864?

3 open source packages ship an affected version, including composio-core. It affects 1 product.

PackageAffectedFixed in
composio-core PyPIAll versions to 0.5.6None
composio-core PyPIAll versions to 0.5.6None
composio-core PyPIAll versions to 0.5.6None

Products include Composio Composio.

How do I fix CVE-2024-8864?

No fix has been published for CVE-2024-8864 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-8864 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8864 exists.

Sources

Also known as GHSA-mrmh-3hqh-pfw7, PYSEC-2026-1266.

Is CVE-2024-8864 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free