Vulnerabilities in pkg:pypi/composio

PACKAGE
Advisory Identifier: GHSA-3mwv-j45g-vp3w
Advisory Summary

CVE-2025-56427 is a MODERATE (CVSS 7.5) path traversal vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Composio libraries in the PyPI ecosystem. The issue involves composiohq has a directory traversal vulnerability. Remediation is available in the latest vendor maintenance releases.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/composio

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/composio. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-3mwv-j45g-vp3w CVE-2025-56427 MODERATE ComposioHQ has a directory traversal vulnerability

CVE-2025-56427 at a Glance

CVE Identifier CVE-2025-56427
GHSA Identifier GHSA-3mwv-j45g-vp3w
Severity MODERATE
CVSS v3.1 Base Score 7.5
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Composio
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 7.5

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

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

How to Fix CVE-2025-56427

To remediate this vulnerability, upgrade all affected Composio 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 fixed: Latest secure release
pip install composio>=Latest secure release
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

How to Check if You Are Affected

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

pip show composio

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

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

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Composio, 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

Directory Traversal vulnerability in ComposioHQ v.0.7.20 allows a remote attacker to obtain sensitive information via the _download_file_or_dir function.

CVE-2025-56427 Affected Composio Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
composio
PyPI
≤ 0.7.20

References

Frequently Asked Questions

What is CVE-2025-56427?
CVE-2025-56427 is a security vulnerability in Composio involving ComposioHQ has a directory traversal vulnerability under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Composio versions are affected?
Affected versions include releases prior to current release patches across affected packages: composio.
What version fixes CVE-2025-56427?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is composio affected?
Yes, composio is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2025-56427?
CVE-2025-56427 has a CVSS v3.1 base score of 7.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2025-56427?
CVE-2025-56427 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check PyPI dependencies for CVE-2025-56427?
Run the dependency tree command: 'pip show composio'. 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-3mwv-j45g-vp3w",
  "modified" : "2025-12-05T22:55:41Z",
  "published" : "2025-12-04T18:30:53Z",
  "aliases" : [ "CVE-2025-56427" ],
  "summary" : "ComposioHQ has a directory traversal vulnerability",
  "details" : "Directory Traversal vulnerability in ComposioHQ v.0.7.20 allows a remote attacker to obtain sensitive information via the _download_file_or_dir function.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "composio"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.7.20"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-56427"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ComposioHQ/composio"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ComposioHQ/composio/blob/master/python/composio/server/api.py#L278"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/TOAST-Research/pocs/blob/main/composio/composio_1.md"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200", "CWE-22" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-05T02:18:39Z",
    "nvd_published_at" : "2025-12-04T16:16:21Z"
  }
}