CVE-2024-8865 composiohq composio api.py path path traversal

Medium 5.1 Published Updated

Attackers can exploit a path traversal vulnerability in the composio Python library to read arbitrary files from the server.

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-8865?

CVE-2024-8865 is a medium-severity path traversal 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 was found in composiohq composio up to 0.5.8 and classified as problematic. Affected by this issue is the function path of the file composio\server\api.py. The manipulation of the argument file leads to path traversal. 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-22

Which versions are affected by CVE-2024-8865?

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

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

Products include Composio Composio.

How do I fix CVE-2024-8865?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-8865 being exploited?

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

Sources

Also known as GHSA-66r2-xm28-74w9, PYSEC-2026-1265.

Is CVE-2024-8865 in your software?

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

Check your SBOMs for free