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 affected module is tool-file-uploads.ts in Composio SDK. It implements a readFileFromDisk function that must restrict the paths of files that can be uploaded. A missing assertSafeFileUploadPath guard allows attackers to supply the SDK with a prompt that refers to non‑whitelisted files. The CLI then reads the target file and uploads it to storage controlled by the attacker, exposing sensitive data such as SSH private keys. This represents a confidentiality breach that could allow an attacker to obtain and misuse credentials that the SDK process can read.

Affected Systems

All users of ComposioHQ’s Composio SDK whose installations are older than version 0.2.32‑beta.283 are affected. The defect resides in the CLI component used for file uploads. Environments that import the SDK and invoke the tool-file-uploads.ts module, such as automated scripts and interactive command‑line interfaces, are at risk.

Risk and Exploitability

The CVSS score of 8.9 classifies this issue as high severity. The EPSS score is below 1 %, indicating a very low estimated exploitation probability at the time of this analysis. The vulnerability can be triggered by manipulating a prompt that the SDK parses to produce file_uploadable parameters; it does not require special privileges on the target machine, though the attacker must have the ability to supply input to the SDK. The flaw is not listed in the CISA KEV, but its potential to exfiltrate credential files makes it a serious threat.

Generated by OpenCVE AI on July 26, 2026 at 17:14 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 restore the missing path validation guard.
  • Add defensive checks that validate the resolved absolute path against an allowed directory list, mitigating CWE‑73 path traversal vulnerabilities.
  • If the file‑upload feature is not required in production, disable or remove that functionality to eliminate the attack surface.
  • Monitor the vendor’s releases and security advisories for future patches addressing similar issues.

Generated by OpenCVE AI on July 26, 2026 at 17:14 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

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T17:15:04Z

Weaknesses
  • CWE-73

    External Control of File Name or Path