CVE-2024-53526: Composio claude Composio Command Execution Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-8h93-28hg-fj84
CVSS 6.4
CWE-77
Published
Advisory Summary

CVE-2024-53526 is a MODERATE (CVSS 6.4) composio command execution vulnerability vulnerability (CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')) affecting Composio claude libraries in the PyPI ecosystem. The issue involves composio command execution vulnerability. Remediation is available by upgrading affected packages to version 0.6.9.

CVE-2024-53526 at a Glance

CVE Identifier CVE-2024-53526
GHSA Identifier GHSA-8h93-28hg-fj84
Severity MODERATE
CVSS v3.1 Base Score 6.4
CWE Classification CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
Affected Product Composio claude
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2024-53526

To remediate this vulnerability, upgrade all affected Composio claude dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

composio-claude fixed: 0.6.9
pip install composio-claude>=0.6.9
composio-openai fixed: 0.6.9
pip install composio-openai>=0.6.9
composio-julep fixed: 0.6.9
pip install composio-julep>=0.6.9
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show composio-claude

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2024-53526, inspect your installed packages using pip:

pip show composio-claude

Analyze the terminal output to locate any version of Composio claude in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.9), your application is affected.

Note: The pip show composio-claude command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection'), where the product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. In Composio claude, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

composio >=0.5.40 is vulnerable to Command Execution in composio_openai, composio_claude, and composio_julep via the handle_tool_calls function.

CVE-2024-53526 Affected Composio claude Versions

3 component(s)
Fixed Versions:
0.6.9
Product / Package Ecosystem Affected Versions Fixed Version
composio-claude
PyPI
≥ 0.5.40
< 0.6.9
0.6.9
composio-openai
PyPI
≥ 0.5.40
< 0.6.9
0.6.9
composio-julep
PyPI
≥ 0.5.40
< 0.6.9
0.6.9

References

Frequently Asked Questions

What is CVE-2024-53526?
CVE-2024-53526 is a security vulnerability in Composio claude involving Composio Command Execution vulnerability under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection').
Which Composio claude versions are affected?
Affected versions include releases prior to 0.6.9 across affected packages: composio-claude, composio-openai, composio-julep.
What version fixes CVE-2024-53526?
Upgrading to 0.6.9 (or the latest patched release for your respective branch) resolves the vulnerability.
Is composio-claude affected?
Yes, composio-claude is affected in releases prior to 0.6.9. Upgrade your dependency to 0.6.9 or later.
Is composio-openai affected?
Yes, composio-openai is affected in releases prior to 0.6.9. Upgrade your dependency to 0.6.9 or later.
What is the CVSS score of CVE-2024-53526?
CVE-2024-53526 has a CVSS v3.1 base score of 6.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2024-53526?
CVE-2024-53526 is classified under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') (The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.).
How can I check PyPI dependencies for CVE-2024-53526?
Run the dependency tree command: 'pip show composio-claude'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-8h93-28hg-fj84",
  "modified" : "2025-01-31T21:06:18Z",
  "published" : "2025-01-08T21:32:25Z",
  "aliases" : [ "CVE-2024-53526" ],
  "summary" : "Composio Command Execution vulnerability",
  "details" : "composio >=0.5.40 is vulnerable to Command Execution in composio_openai, composio_claude, and composio_julep via the handle_tool_calls function.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "composio-claude"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.5.40"
      }, {
        "fixed" : "0.6.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "composio-openai"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.5.40"
      }, {
        "fixed" : "0.6.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "composio-julep"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.5.40"
      }, {
        "fixed" : "0.6.9"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-53526"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ComposioHQ/composio/issues/1073"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ComposioHQ/composio/pull/1107"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ComposioHQ/composio/commit/f496f7fa776335ae7825cad2991c9b38923271fc"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ComposioHQ/composio"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ComposioHQ/composio/blob/11ee7470aa6543097ee30bb036af8e9726dc7a85/python/plugins/claude/composio_claude/toolset.py#L156"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ComposioHQ/composio/blob/11ee7470aa6543097ee30bb036af8e9726dc7a85/python/plugins/julep/composio_julep/toolset.py#L21"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ComposioHQ/composio/blob/11ee7470aa6543097ee30bb036af8e9726dc7a85/python/plugins/openai/composio_openai/toolset.py#L184"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-77" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-01-31T21:06:18Z",
    "nvd_published_at" : "2025-01-08T19:15:37Z"
  }
}