# CVE-2025-56427: PYSEC-2026-1262 - ComposioHQ has a directory traversal vulnerability

Source: https://junglewise.ai/threats/cve-2025-56427-composio-directory-traversal-in-file-download  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-12-04. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

CVE-2025-56427 · Severity: high · CVSS 7.5 · Published 2025-12-04

Composio is an open-source library that enables AI agents to interact with tools and services. A directory traversal vulnerability in the file download function allows remote attackers to read arbitrary files from the server without authentication, potentially exposing sensitive configuration data, source code, or credentials.

Technologies: [ComposioHQ Composio](https://junglewise.ai/threats/technologies/composio). Vendors: [ComposioHQ](https://junglewise.ai/threats/vendors/composiohq), [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2025-56427 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-56427 being exploited in the wild.

**How severe is CVE-2025-56427?** High severity, with a CVSS score of 7.5, published 4 December 2025.

**Which products and versions are affected?** ComposioHQ Composio 0.7.20 and earlier; composio (PyPI) ECOSYSTEM:introduced=0,last_affected=0.7.20.

**Is there a fix for CVE-2025-56427?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2025-56427 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2025-56427?** Check whether you run Composio, ComposioHQ Composio or composio (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A directory traversal vulnerability exists in ComposioHQ's _download_file_or_dir function (located in python/composio/server/api.py) that fails to properly validate or sanitize file path inputs. An attacker can exploit this by providing specially crafted path traversal sequences (e.g., "../") to access files outside the intended directory. The vulnerability requires only network access and no authentication; an unauthenticated remote attacker can read arbitrary files on the system where Composio is running. The CVE references suggest PoC exploits are publicly available, though exploitation in the wild has not been reported as of the advisory date.

## Affected products

- ComposioHQ Composio 0.7.20 and earlier

## Identifiers

- CVE-2025-56427
- GHSA-3mwv-j45g-vp3w
- PYSEC-2026-1262

## Timeline

- 2025-12-04: disclosed
- 2025-12-05: other: GitHub advisory reviewed

## References

- [https://github.com/ComposioHQ/composio](https://github.com/ComposioHQ/composio)

## Related threats

- [Composio SDK path validation bypass in CLI tool-file-uploads](https://junglewise.ai/threats/cve-2026-59807-composio-sdk-path-validation-bypass-in-cli-tool-file-uploads)
