Description
Composio SDK before 0.2.32-beta.283 contains a path validation bypass vulnerability that allows attackers to read and exfiltrate sensitive files by exploiting a missing assertSafeFileUploadPath check in the readFileFromDisk function within tool-file-uploads.ts. Attackers can exploit prompt injection to manipulate file_uploadable parameters to reference sensitive paths such as SSH private keys, causing the CLI to upload credential files to attacker-controlled storage.
Published: 2026-07-08
Score: 8.9 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Composio SDK before version 0.2.32‑beta.283 contains a path validation bypass in the tool-file-uploads.ts module. A missing assertSafeFileUploadPath guard in the readFileFromDisk function allows a prompt injection that supplies non‑whitelisted file paths such as SSH private keys. When the CLI reads and uploads the specified file, its contents are sent to an attacker‑controlled storage destination, exposing sensitive data. This flaw is classified as a path traversal (CWE‑73) that can lead to confidentiality compromise.

Affected Systems

All deployments of ComposioHQ’s Composio SDK older than 0.2.32‑beta.283 are affected. The vulnerability resides in the CLI component used for file uploads, which may be invoked by automated scripts or interactive command‑line interfaces.

Risk and Exploitability

The CVSS score of 8.9 classifies this issue as high severity, while the EPSS score of < 1 % indicates a low exploitation probability at the time of this analysis. Based on the description, it is inferred that the attacker can trigger the vulnerability through prompt injection from the CLI, and it does not require elevated privileges on the target machine. Though this vulnerability is not listed in CISA’s KEV catalog, its ability to exfiltrate credential files makes it a serious threat.

Generated by OpenCVE AI on August 4, 2026 at 18:48 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Composio SDK to version 0.2.32‑beta.283 or later to reinstate the missing path validation guard.
  • Implement defensive checks that verify the resolved absolute file path against an allowed directory list, mitigating the CWE‑73 path traversal weakness.
  • If the file‑upload feature is not required in production, disable or remove that functionality to eliminate the attack surface.

Generated by OpenCVE AI on August 4, 2026 at 18:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 09 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 08 Jul 2026 20:15:00 +0000

Type Values Removed Values Added
Description Composio SDK before 0.2.32-beta.283 contains a path validation bypass vulnerability that allows attackers to read and exfiltrate sensitive files by exploiting a missing assertSafeFileUploadPath check in the readFileFromDisk function within tool-file-uploads.ts. Attackers can exploit prompt injection to manipulate file_uploadable parameters to reference sensitive paths such as SSH private keys, causing the CLI to upload credential files to attacker-controlled storage.
Title Composio SDK < 0.2.32-beta.283 - Sensitive File Upload via tool-file-uploads.ts
First Time appeared Composio
Composio composio
Weaknesses CWE-73
CPEs cpe:2.3:a:composio:composio:*:*:*:*:*:*:*:*
Vendors & Products Composio
Composio composio
References
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.9, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N'}


Subscriptions

Composio Composio
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-09T14:28:25.191Z

Reserved: 2026-07-07T14:39:14.062Z

Link: CVE-2026-59807

cve-icon Vulnrichment

Updated: 2026-07-09T14:28:10.274Z

cve-icon NVD

Status : Deferred

Published: 2026-07-08T20:16:57.123

Modified: 2026-07-10T18:22:49.657

Link: CVE-2026-59807

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T19:00:10Z

Weaknesses
  • CWE-73

    External Control of File Name or Path