- CVSS
- MEDIUM · 6.8v3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
- Published
- 2026-07-08
- Weakness
- CWE-73
- Source
- nvd.nist.gov/vuln/detail/CVE-2026-59807
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.
References
- https://github.com/ComposioHQ/composio/commit/fc17c37bf95b7ece5c038cb7e2ab7e3e4a064e3a
- https://github.com/ComposioHQ/composio/issues/3746
- https://github.com/ComposioHQ/composio/pull/3763
- https://github.com/ComposioHQ/composio/releases/tag/%40composio%2Fcli%400.2.32-beta.283
- https://www.vulncheck.com/advisories/composio-sdk-beta-283-sensitive-file-upload-via-tool-file-uploads-ts
- https://github.com/ComposioHQ/composio/issues/3746
How GTK Cyber trains on this
AI security training at GTK Cyber covers the LLM and ML-pipeline vulnerability classes that vulnerabilities like CVE-2026-59807 fall into. Our hands-on courses are taught by Charles Givre and other practitioners who break and defend production AI systems.