CVE-2026-59807
Composio SDK before 0.2.32-beta.283 contains a path validation …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ComposioHQ/composio/commit/fc17c37bf95b7ece5c038cb7e2ab7e3e4a064e3a
- github.com/ComposioHQ/composio/issues/3746
- github.com/ComposioHQ/composio/pull/3763
- github.com/ComposioHQ/composio/releases/tag/%40composio%2Fcli%400.2.32-beta.283
- www.vulncheck.com/advisories/composio-sdk-beta-283-sensitive-file-upload-via-tool-file-upl
- nvd.nist.gov/vuln/detail/CVE-2026-59807
- cve.org/CVERecord?id=CVE-2026-59807
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.